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: Michael Neuling <mikey@neuling.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Родитель
2a4b9c5af8
Коммит
b160544ccc
|
@ -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");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче