diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-12-06 13:11:04 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-12-06 13:11:04 -0600 |
commit | bee86f14d51a5a9a3b1897e301da1e415df0ba23 (patch) | |
tree | 28aaf0db44a4d6f2c8f3f7162200a05d590f4e98 /arch/powerpc/kernel/asm-offsets.c | |
parent | 7e1fb765c613298d861f80fa18af26df87a4ec19 (diff) | |
download | kernel_samsung_smdk4412-bee86f14d51a5a9a3b1897e301da1e415df0ba23.zip kernel_samsung_smdk4412-bee86f14d51a5a9a3b1897e301da1e415df0ba23.tar.gz kernel_samsung_smdk4412-bee86f14d51a5a9a3b1897e301da1e415df0ba23.tar.bz2 |
[POWERPC] Fix swapper_pg_dir size when CONFIG_PTE_64BIT=y on FSL_BOOKE
The size of swapper_pg_dir is 8k instead of 4k when using 64-bit PTEs
(CONFIG_PTE_64BIT).
This was reported by Cedric Hombourger <chombourger@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
-rw-r--r-- | arch/powerpc/kernel/asm-offsets.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c index d67bcd8..ed083fe 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c @@ -326,8 +326,7 @@ int main(void) DEFINE(VMALLOC_START_VSID, KERNEL_VSID(VMALLOC_START)); #endif -#ifdef CONFIG_PPC64 DEFINE(PGD_TABLE_SIZE, PGD_TABLE_SIZE); -#endif + return 0; } |