Commit 637514b6 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] ppc64: iseries build fixes

Fix one compile warning and one build warning on iseries.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ee3ff576
...@@ -534,7 +534,9 @@ arch_initcall(mmu_context_init); ...@@ -534,7 +534,9 @@ arch_initcall(mmu_context_init);
*/ */
void __init mm_init_ppc64(void) void __init mm_init_ppc64(void)
{ {
#ifndef CONFIG_PPC_ISERIES
unsigned long i; unsigned long i;
#endif
ppc64_boot_msg(0x100, "MM Init"); ppc64_boot_msg(0x100, "MM Init");
......
...@@ -201,9 +201,9 @@ extern int page_is_ram(unsigned long pfn); ...@@ -201,9 +201,9 @@ extern int page_is_ram(unsigned long pfn);
/* to change! */ /* to change! */
#define PAGE_OFFSET ASM_CONST(0xC000000000000000) #define PAGE_OFFSET ASM_CONST(0xC000000000000000)
#define KERNELBASE PAGE_OFFSET #define KERNELBASE PAGE_OFFSET
#define VMALLOCBASE 0xD000000000000000UL #define VMALLOCBASE ASM_CONST(0xD000000000000000)
#define IOREGIONBASE 0xE000000000000000UL #define IOREGIONBASE ASM_CONST(0xE000000000000000)
#define EEHREGIONBASE 0xA000000000000000UL #define EEHREGIONBASE ASM_CONST(0xA000000000000000)
#define IO_REGION_ID (IOREGIONBASE>>REGION_SHIFT) #define IO_REGION_ID (IOREGIONBASE>>REGION_SHIFT)
#define EEH_REGION_ID (EEHREGIONBASE>>REGION_SHIFT) #define EEH_REGION_ID (EEHREGIONBASE>>REGION_SHIFT)
......
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