]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
headers_check fix: x86, prctl.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Mon, 2 Feb 2009 16:18:33 +0000 (21:48 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Mon, 2 Feb 2009 17:57:09 +0000 (23:27 +0530)
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>
arch/x86/include/asm/prctl.h
arch/x86/include/asm/syscalls.h

index a8894647dd9aba3fd5139eb2277e39a10d17cacb..3ac5032fae092a0ba788f5b4971085ca548edd22 100644 (file)
@@ -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 */
index c0b0bda754eeece404b25e3fbe206e790abc87de..e26d34b0bc793a8c6671fa5ba65aedf50857b4d1 100644 (file)
@@ -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 *);