projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/include/asm-mips/setup.h
b/include/asm-mips/setup.h
index 883f59bfa097f26f437c465596b5ab26d956c0db..e600cedda9762dac44ea7975f8bdab18d4ad2ba0 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 */