提交 386dcafa 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

[PATCH] i386: Remove __KERNEL__ ifdef around _syscall*()

After all their only point is having them in user space.
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 266f0566
...@@ -324,8 +324,6 @@ ...@@ -324,8 +324,6 @@
#define __NR_vmsplice 316 #define __NR_vmsplice 316
#define __NR_move_pages 317 #define __NR_move_pages 317
#ifdef __KERNEL__
#define NR_syscalls 318 #define NR_syscalls 318
/* /*
...@@ -425,6 +423,8 @@ __asm__ volatile ("push %%ebp ; push %%ebx ; movl 4(%2),%%ebp ; " \ ...@@ -425,6 +423,8 @@ __asm__ volatile ("push %%ebp ; push %%ebx ; movl 4(%2),%%ebp ; " \
__syscall_return(type,__res); \ __syscall_return(type,__res); \
} }
#ifdef __KERNEL__
#define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_OLD_STAT #define __ARCH_WANT_OLD_STAT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册