x86, mm: Initialize initial_page_table before paravirt jumps
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Jan 2011 06:50:54 +0000 (17:20 +1030)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Jan 2011 08:53:50 +0000 (09:53 +0100)
commitd50d8fe192428090790e7178e9507e981e0b005b
tree989ba73e524b8fbd627d36793ef6cee6ffa8a51d
parent387c31c7e5c9805b0aef8833d1731a5fe7bdea14
x86, mm: Initialize initial_page_table before paravirt jumps

v2.6.36-rc8-54-gb40827f (x86-32, mm: Add an initial page table
for core bootstrapping) made x86 boot using initial_page_table
and broke lguest.

For 2.6.37 we simply cut & paste the initialization code into
lguest (da32dac10126 "lguest: populate initial_page_table"), now
we fix it properly by doing that initialization before the
paravirt jump.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: lguest <lguest@ozlabs.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <201101041720.54535.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_32.S
arch/x86/lguest/i386_head.S