[PATCH] powerpc: Fix 32 bits warning in prom_init.c
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue Jul 4 14:07:42 EST 2006
A warning is hurting my eyes when building 32 bits kernels
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Index: linux-irq-work/arch/powerpc/kernel/prom_init.c
===================================================================
--- linux-irq-work.orig/arch/powerpc/kernel/prom_init.c 2006-07-04 12:59:33.000000000 +1000
+++ linux-irq-work/arch/powerpc/kernel/prom_init.c 2006-07-04 13:00:13.000000000 +1000
@@ -557,7 +557,9 @@
static void __init early_cmdline_parse(void)
{
struct prom_t *_prom = &RELOC(prom);
+#ifdef CONFIG_PPC64
const char *opt;
+#endif
char *p;
int l = 0;
More information about the Linuxppc-dev
mailing list