Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -444,9 +444,9 @@ void __init setup_system(void)
	if (htab_address)
		printk("htab_address                  = 0x%p\n", htab_address);
	printk("htab_hash_mask                = 0x%lx\n", htab_hash_mask);
#if PHYSICAL_START > 0
	printk("physical_start                = 0x%lx\n", PHYSICAL_START);
#endif
	if (PHYSICAL_START > 0)
		printk("physical_start                = 0x%lx\n",
		       PHYSICAL_START);
	printk("-----------------------------------------------------\n");

	DBG(" <- setup_system()\n");