projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f113c5e
)
[MIPS] don't leak setup_early_printk() in userspace header
author
Adrian Bunk
<bunk@kernel.org>
Wed, 16 Jul 2008 16:26:15 +0000
(19:26 +0300)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sun, 20 Jul 2008 13:38:19 +0000
(14:38 +0100)
Our userspace headers shouldn't contain prototypes of in-kernel
functions.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/setup.h
patch
|
blob
|
history
diff --git
a/include/asm-mips/setup.h
b/include/asm-mips/setup.h
index
883f59b
..
e600ced
100644
(file)
--- 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 */