]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitb3c5c8825cc823f9fa56a91cbff04fb96a7712ca
tree0bf4e4c1d48eff6487d2e25b4b25f326b7300c5a
parentebe54d9878cd8438cd2c24795a655ab3f77cb339
[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