mirror of https://gitee.com/openkylin/linux.git
[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
|
@ -557,7 +557,9 @@ unsigned long prom_memparse(const char *ptr, const char **retptr)
|
||||||
static void __init early_cmdline_parse(void)
|
static void __init early_cmdline_parse(void)
|
||||||
{
|
{
|
||||||
struct prom_t *_prom = &RELOC(prom);
|
struct prom_t *_prom = &RELOC(prom);
|
||||||
|
#ifdef CONFIG_PPC64
|
||||||
const char *opt;
|
const char *opt;
|
||||||
|
#endif
|
||||||
char *p;
|
char *p;
|
||||||
int l = 0;
|
int l = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue