projects/linux·commit 386dcafa

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

386dcafa · Andi Kleen <[email protected]> · 2006-08-30 19:37:18 +02:00

After all their only point is having them in user space.

Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
386dcafaacd212ef4a8aeed67a7db3ffbb44c7b2
Parents
266f0566

Changes

1 files changed · +2 −2

FileStatusAddDelContent
include/asm-i386/unistd.hmodified+2−2View file

include/asm-i386/unistd.h

View file
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h
index fc1c8dd..d983b74 100644
--- a/include/asm-i386/unistd.h
+++ b/include/asm-i386/unistd.h
@@ -324,8 +324,6 @@
#define __NR_vmsplice 316
#define __NR_move_pages 317
-#ifdef __KERNEL__
-
#define NR_syscalls 318
/*
@@ -425,6 +423,8 @@ __asm__ volatile ("push %%ebp ; push %%ebx ; movl 4(%2),%%ebp ; " \
__syscall_return(type,__res); \
}
+#ifdef __KERNEL__
+
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_OLD_STAT