mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-16 15:12:39 +01:00
[PATCH] i386: Remove __KERNEL__ ifdef around _syscall*()
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]>
This commit is contained in:
1 parent
266f056676
commit
386dcafaac
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user