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)
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>

No differences found