csky: Add non-uapi asm/ptrace.h namespace
authorGuo Ren <ren_guo@c-sky.com>
Tue, 26 Mar 2019 07:56:33 +0000 (15:56 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Mon, 22 Apr 2019 05:44:57 +0000 (13:44 +0800)
commitf335b10f3b6ca2d11adef95092fff65152c31b48
tree8cfe88677993d69023f1d6202e3032fe8b90359b
parentce63cd5bd4482ded3c5907a48928627de623b185
csky: Add non-uapi asm/ptrace.h namespace

Move #ifdef __KERNEL__ code in the uapi namespace to non-uapi
include/asm/ptrace.h namespace and remove #ifdef __KERNEL__ in
include/asm/ptrace.h. Seperate ptrace.h in uapi and non-uapi is more
common and clear.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Dmitry V. Levin <ldv@altlinux.org>
arch/csky/include/asm/ptrace.h [new file with mode: 0644]
arch/csky/include/uapi/asm/ptrace.h