Skip to content

Commit

Permalink
[PATCH] i386: Remove __KERNEL__ ifdef around _syscall*()
Browse files Browse the repository at this point in the history
After all their only point is having them in user space.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Aug 30, 2006
1 parent 266f056 commit 386dcaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-i386/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,6 @@
#define __NR_vmsplice 316
#define __NR_move_pages 317

#ifdef __KERNEL__

#define NR_syscalls 318

/*
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 386dcaf

Please sign in to comment.