powerpc/32: Add the ability for a classic ppc kernel to be loaded at 32M
authorDale Farnsworth <dale@farnsworth.org>
Wed, 17 Dec 2008 10:09:13 +0000 (10:09 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 23 Dec 2008 04:13:29 +0000 (15:13 +1100)
commitccdcef72c249c289898b164eada89a61855b9287
tree4a60305aaaa89949b2f979226cc192d8d5a3eb2c
parent01695a9687e5a8d78589605037cc7828a5b67ac9
powerpc/32: Add the ability for a classic ppc kernel to be loaded at 32M

Add the ability for a classic ppc kernel to be loaded at an address
of 32MB.  This done by fixing a few places that assume we are loaded
at address 0, and by changing several uses of KERNELBASE to use
PAGE_OFFSET, instead.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/kernel/head_32.S
arch/powerpc/mm/init_32.c
arch/powerpc/mm/pgtable_32.c
arch/powerpc/mm/ppc_mmu_32.c