Skip to content

Commit

Permalink
headers_check fix: x86, prctl.h
Browse files Browse the repository at this point in the history
fix the following 'make headers_check' warning:

  usr/include/asm/prctl.h:10: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
  • Loading branch information
Jaswinder Singh Rajput committed Feb 2, 2009
1 parent 11d9f65 commit 8d4b498
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/include/asm/prctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@
#define ARCH_GET_FS 0x1003
#define ARCH_GET_GS 0x1004

#ifdef CONFIG_X86_64
extern long sys_arch_prctl(int, unsigned long);
#endif /* CONFIG_X86_64 */

#endif /* _ASM_X86_PRCTL_H */
1 change: 1 addition & 0 deletions arch/x86/include/asm/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ asmlinkage long sys_vfork(struct pt_regs *);
asmlinkage long sys_execve(char __user *, char __user * __user *,
char __user * __user *,
struct pt_regs *);
long sys_arch_prctl(int, unsigned long);

/* kernel/ioport.c */
asmlinkage long sys_iopl(unsigned int, struct pt_regs *);
Expand Down

0 comments on commit 8d4b498

Please sign in to comment.