Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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 ; " \
__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