[POWERPC] Size swapper_pg_dir correctly
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Sep 2007 07:22:59 +0000 (17:22 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Sep 2007 05:25:34 +0000 (15:25 +1000)
commitee7a76da1ef5e3e5e0e54e84319e435ea25c267c
treedf68b3ffb08df0a243085ddd59a9d4cfb2b01a6d
parent19a8d97d89442e2bda6245b8a3de2c1fec69a7ad
[POWERPC] Size swapper_pg_dir correctly

David Gibson pointed out that swapper_pg_dir actually need to be
PGD_TABLE_SIZE bytes long not PAGE_SIZE.  This actually saves 64k in
the bss for a kernel ppc64_defconfig built with CONFIG_PPC_64K_PAGES.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/head_64.S
include/asm-powerpc/pgtable-4k.h
include/asm-powerpc/pgtable-64k.h