* [PATCH] powerpc: Fix 32 bits warning in prom_init.c
@ 2006-07-04 4:07 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2006-07-04 4:07 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev list
A warning is hurting my eyes when building 32 bits kernels
Signed-off-by: Benjamin Herrenschmidt <benh@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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-04 4:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-04 4:07 [PATCH] powerpc: Fix 32 bits warning in prom_init.c Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).