[POWERPC] Fix 32 bits warning in prom_init.c

A warning is hurting my eyes when building 32 bits kernels

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Benjamin Herrenschmidt 2006-07-04 14:07:42 +10:00 committed by Paul Mackerras
parent e8c0acf9a4
commit 470407a88e
1 changed files with 2 additions and 0 deletions

View File

@ -557,7 +557,9 @@ unsigned long prom_memparse(const char *ptr, const char **retptr)
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;