Commit 6a249023 authored by He Sheng's avatar He Sheng Committed by guzitao
Browse files

sw64: fix ptrace.h with types.h and NOT __ASSEMBLY__

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG



--------------------------------

It may report compile errors on some user apps if linux/types.h is
nowhere to be included. And a __ASSEMBLY__ guard makes it work if
included by assembly codes.

Signed-off-by: default avatarHe Sheng <hesheng@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent a9839e29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment