mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:29:20 +00:00
[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)
|
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…
Add table
Add a link
Reference in a new issue