Commit 386dcafa authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

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

After all their only point is having them in user space.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment