diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-07-04 14:07:42 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-07-26 01:26:43 +1000 |
commit | 21bd2e6696bb5c8b32b00a0ea597f49bfda0ddc6 (patch) | |
tree | eddbdd9946b73d53fd3ec9f2d608587f1e9e85ff /arch | |
parent | f0ca330bc4ce00377f940b786d7ec7d848dc4102 (diff) | |
download | op-kernel-dev-21bd2e6696bb5c8b32b00a0ea597f49bfda0ddc6.zip op-kernel-dev-21bd2e6696bb5c8b32b00a0ea597f49bfda0ddc6.tar.gz |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index b6c3ac2..462bced 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -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; |