x86, mm: Initialize initial_page_table before paravirt jumps
authorRusty Russell <[email protected]>
Tue, 4 Jan 2011 06:50:54 +0000 (17:20 +1030)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Acked-by: Jeremy Fitzhardinge <[email protected]>
Cc: lguest <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <201101041720[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/head_32.S
arch/x86/lguest/i386_head.S