* [2.6 patch] mips: don't leak setup_early_printk() in userspace header
@ 2008-07-16 16:26 Adrian Bunk
2008-07-18 14:47 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-07-16 16:26 UTC (permalink / raw)
To: Dmitri Vorobiev, Ralf Baechle; +Cc: linux-mips
Our userspace headers shouldn't contain prototypes of in-kernel
functions.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
e584bcde154a4d9cdf8db2fc0b4250751d53f1a0
diff --git a/include/asm-mips/setup.h b/include/asm-mips/setup.h
index 883f59b..e600ced 100644
--- a/include/asm-mips/setup.h
+++ b/include/asm-mips/setup.h
@@ -3,6 +3,8 @@
#define COMMAND_LINE_SIZE 256
+#ifdef __KERNEL__
extern void setup_early_printk(void);
+#endif /* __KERNEL__ */
#endif /* __SETUP_H */
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-18 14:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 16:26 [2.6 patch] mips: don't leak setup_early_printk() in userspace header Adrian Bunk
2008-07-18 14:47 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox