Skip to contentSkip to conversation

x86: Fix a header leak from headers_check

PATCH New Alan Cox 1 participant 1 message Mar 26, 2009 x86

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 x86: Fix a header leak from headers_check

One less warning (and many of the others are header check script bugs)

---

 arch/x86/include/asm/prctl.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/x86/include/asm/prctl.h +2 -0
index a889464..ecd18fd 100644
@@ -6,8 +6,10 @@
 #define ARCH_GET_FS 0x1003
 #define ARCH_GET_GS 0x1004
 
+#ifdef __KERNEL__
 #ifdef CONFIG_X86_64
 extern long sys_arch_prctl(int, unsigned long);
 #endif /* CONFIG_X86_64 */
+#endif
 
 #endif /* _ASM_X86_PRCTL_H */