summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_64.S
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-09-18 09:22:59 +0200
committerPaul Mackerras <paulus@samba.org>2007-09-19 07:25:34 +0200
commitee7a76da1ef5e3e5e0e54e84319e435ea25c267c (patch)
treedf68b3ffb08df0a243085ddd59a9d4cfb2b01a6d /arch/powerpc/kernel/head_64.S
parent[POWERPC] Remove cmd_line from head*.S (diff)
downloadlinux-ee7a76da1ef5e3e5e0e54e84319e435ea25c267c.tar.xz
linux-ee7a76da1ef5e3e5e0e54e84319e435ea25c267c.zip
[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>
Diffstat (limited to 'arch/powerpc/kernel/head_64.S')
-rw-r--r--arch/powerpc/kernel/head_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index f4ae82e9c92d..384cc75f1cd4 100644
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -1539,4 +1539,4 @@ empty_zero_page:
.globl swapper_pg_dir
swapper_pg_dir:
- .space PAGE_SIZE
+ .space PGD_TABLE_SIZE