[POWERPC] Add memory regions to the kcore list for 32-bit machines
authorEd Swarthout <Ed.Swarthout@freescale.com>
Fri, 21 Sep 2007 02:53:02 +0000 (12:53 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 2 Oct 2007 23:12:06 +0000 (09:12 +1000)
commitdf174e3be88d4352bfcfe20d11adc671d2961c79
tree0bf4e4c1d48eff6487d2e25b4b25f326b7300c5a
parent94987aff23bcdd7cee92edf02c2f4ef259d1cbf6
[POWERPC] Add memory regions to the kcore list for 32-bit machines

The entries are only 32-bit, so restrict the virtual address to stay
below 0xffff_ffff.  With KERNELBASE set to 0xc000_0000, this in effect
restricts access to the first 1GB of real memory.

Make setup_kcore conditional on CONFIG_PROC_KCORE for both 32/64.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/init_32.c
arch/powerpc/mm/init_64.c