kernel-fxtec-pro1x/arch/powerpc
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
..
boot [PATCH] powerpc: Fix suboptimal uImage target 2006-01-09 14:50:25 +11:00
configs powerpc: update defconfigs 2005-12-20 16:00:17 +11:00
kernel [PATCH] powerpc: Separate usage of KERNELBASE and PAGE_OFFSET 2006-01-09 14:51:54 +11:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] powerpc: Separate usage of KERNELBASE and PAGE_OFFSET 2006-01-09 14:51:54 +11:00
oprofile [PATCH] powerpc: Add a is_kernel_addr() macro 2006-01-09 14:51:50 +11:00
platforms [PATCH] powerpc: Update OF address parsers 2006-01-09 14:51:26 +11:00
sysdev [PATCH] powerpc32: fix definition of distribute_irqs 2006-01-09 14:51:43 +11:00
xmon [PATCH] powerpc: Add a is_kernel_addr() macro 2006-01-09 14:51:50 +11:00
Kconfig [PATCH] powerpc32: clean up available memory models 2006-01-09 14:51:40 +11:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [PATCH] powerpc: Add support for building uImages 2006-01-09 14:50:21 +11:00