]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, mm: Fix CONFIG_VMSPLIT_1G and 2G_OPT trampoline
authorHugh Dickins <hughd@google.com>
Wed, 25 Aug 2010 05:44:12 +0000 (22:44 -0700)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Apr 2011 20:15:58 +0000 (16:15 -0400)
commitf377cfb2ca75d76246b57fcd34375d27af88667e
tree7dc0413b4b8322032525963a55e60ff7eaae8a67
parent2f7c1a711119518a21feb2d077c8015e9f32875d
x86, mm: Fix CONFIG_VMSPLIT_1G and 2G_OPT trampoline

commit b7d460897739e02f186425b7276e3fdb1595cea7 upstream.

rc2 kernel crashes when booting second cpu on this CONFIG_VMSPLIT_2G_OPT
laptop: whereas cloning from kernel to low mappings pgd range does need
to limit by both KERNEL_PGD_PTRS and KERNEL_PGD_BOUNDARY, cloning kernel
pgd range itself must not be limited by the smaller KERNEL_PGD_BOUNDARY.

Signed-off-by: Hugh Dickins <hughd@google.com>
LKML-Reference: <alpine.LSU.2.00.1008242235120.2515@sister.anvils>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/kernel/trampoline.c