Commit b160544c authored by Michael Neuling's avatar Michael Neuling Committed by Paul Mackerras

powerpc: Fix compiler warning for the relocatable kernel

Fixes this warning:
 arch/powerpc/kernel/setup_64.c:447:5: warning: "kernstart_addr" is not defined

which arises because PHYSICAL_START is no longer a constant when
CONFIG_RELOCATABLE=y.
Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 2a4b9c5a
...@@ -444,9 +444,9 @@ void __init setup_system(void) ...@@ -444,9 +444,9 @@ void __init setup_system(void)
if (htab_address) if (htab_address)
printk("htab_address = 0x%p\n", htab_address); printk("htab_address = 0x%p\n", htab_address);
printk("htab_hash_mask = 0x%lx\n", htab_hash_mask); printk("htab_hash_mask = 0x%lx\n", htab_hash_mask);
#if PHYSICAL_START > 0 if (PHYSICAL_START > 0)
printk("physical_start = 0x%lx\n", PHYSICAL_START); printk("physical_start = 0x%lx\n",
#endif PHYSICAL_START);
printk("-----------------------------------------------------\n"); printk("-----------------------------------------------------\n");
DBG(" <- setup_system()\n"); DBG(" <- setup_system()\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment