diff options
author | Michael Neuling <mikey@neuling.org> | 2008-10-22 15:39:49 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-10-31 01:11:54 -0400 |
commit | b160544cccb403310cf38ddb3ebc156ea454848a (patch) | |
tree | bf05e54dc522ce02ad48ec41e5c0c636cdc24141 /arch | |
parent | 2a4b9c5af82035c591adca951a9af1665ad1a2b0 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 843c0af210d0..169d74cef157 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -444,9 +444,9 @@ void __init setup_system(void) | |||
444 | if (htab_address) | 444 | if (htab_address) |
445 | printk("htab_address = 0x%p\n", htab_address); | 445 | printk("htab_address = 0x%p\n", htab_address); |
446 | printk("htab_hash_mask = 0x%lx\n", htab_hash_mask); | 446 | printk("htab_hash_mask = 0x%lx\n", htab_hash_mask); |
447 | #if PHYSICAL_START > 0 | 447 | if (PHYSICAL_START > 0) |
448 | printk("physical_start = 0x%lx\n", PHYSICAL_START); | 448 | printk("physical_start = 0x%lx\n", |
449 | #endif | 449 | PHYSICAL_START); |
450 | printk("-----------------------------------------------------\n"); | 450 | printk("-----------------------------------------------------\n"); |
451 | 451 | ||
452 | DBG(" <- setup_system()\n"); | 452 | DBG(" <- setup_system()\n"); |