From: Adrian Bunk Date: Wed, 16 Jul 2008 16:26:15 +0000 (+0300) Subject: [MIPS] don't leak setup_early_printk() in userspace header X-Git-Tag: v2.6.27-rc1~967^2~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f15d378763e88c361364c0d0ad256d523f2d72f;p=linux-2.6 [MIPS] don't leak setup_early_printk() in userspace header Our userspace headers shouldn't contain prototypes of in-kernel functions. Signed-off-by: Adrian Bunk Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/setup.h b/include/asm-mips/setup.h index 883f59bfa0..e600cedda9 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 */