]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: fix early_ioremap.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 31 Oct 2008 16:24:27 +0000 (11:24 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 31 Oct 2008 00:24:27 +0000 (11:24 +1100)
commit8d01e5f4843b84482e3bd3e946be2b4483cf76e1
treebf8af6cb614593de091312bd7fa3c53ba6704e38
parent750b4349001c5ae4abf729bb7feff7a7f7df3e2f
lguest: fix early_ioremap.

dmi_scan_machine breaks under lguest:
lguest: unhandled trap 14 at 0xc04edeae (0xffa00000)

This is because we use current_cr3 for the read_cr3() paravirt
function, and it isn't set until the first cr3 change.  We got away
with it until this happened.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/lguest/boot.c