| To: | Dmitri Vorobiev <dmitri.vorobiev@movial.fi>, Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [2.6 patch] mips: don't leak setup_early_printk() in userspace header |
| From: | Adrian Bunk <bunk@kernel.org> |
| Date: | Wed, 16 Jul 2008 19:26:15 +0300 |
| Cc: | linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
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 */ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [2.6 patch] remove include/asm-mips/mips-boards/sead{,int}.h, Adrian Bunk |
|---|---|
| Next by Date: | Re: [2.6 patch] mips/sgi-ip22/ip28-berr.c: fix the build, Robert P. J. Day |
| Previous by Thread: | [2.6 patch] remove include/asm-mips/mips-boards/sead{,int}.h, Adrian Bunk |
| Next by Thread: | Re: [2.6 patch] mips: don't leak setup_early_printk() in userspace header, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |