[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:
parent
f0ca330bc4
commit
21bd2e6696
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue