Michael Ellerman b5666f7039 [PATCH] powerpc: Separate usage of KERNELBASE and PAGE_OFFSET
This patch separates usage of KERNELBASE and PAGE_OFFSET. I haven't
looked at any of the PPC32 code, if we ever want to support Kdump on
PPC we'll have to do another audit, ditto for iSeries.

This patch makes PAGE_OFFSET the constant, it'll always be 0xC * 1
gazillion for 64-bit.

To get a physical address from a virtual one you subtract PAGE_OFFSET,
_not_ KERNELBASE.

KERNELBASE is the virtual address of the start of the kernel, it's
often the same as PAGE_OFFSET, but _might not be_.

If you want to know something's offset from the start of the kernel
you should subtract KERNELBASE.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-09 14:51:54 +11:00
..
2005-11-18 14:39:23 +11:00
2005-10-13 13:40:54 +10:00
2006-01-09 14:49:06 +11:00
2006-01-09 14:49:06 +11:00
2006-01-09 14:50:15 +11:00
2005-11-14 17:14:51 +11:00
2006-01-09 14:49:54 +11:00
2006-01-09 14:48:52 +11:00
2006-01-09 14:49:54 +11:00
2006-01-09 14:49:54 +11:00
2005-11-09 11:35:26 +11:00
2006-01-09 14:49:01 +11:00
2006-01-09 14:51:22 +11:00
2006-01-09 14:51:22 +11:00
2005-11-28 14:34:23 -08:00