* [PATCH] x86: Fix a header leak from headers_check
@ 2009-03-26 20:51 Alan Cox
0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2009-03-26 20:51 UTC (permalink / raw)
To: linux-kernel, mingo
One less warning (and many of the others are header check script bugs)
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
---
arch/x86/include/asm/prctl.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm/prctl.h b/arch/x86/include/asm/prctl.h
index a889464..ecd18fd 100644
--- a/arch/x86/include/asm/prctl.h
+++ b/arch/x86/include/asm/prctl.h
@@ -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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-26 20:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-26 20:51 [PATCH] x86: Fix a header leak from headers_check Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®