diff options
author | Jeremy Fitzhardinge <jeremy@xensource.com> | 2008-02-13 16:20:35 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-13 16:20:35 +0100 |
commit | 37cc8d7f963ba2deec29c9b68716944516a3244f (patch) | |
tree | 33aa30fe472dad9d8f91d1ef653c6be57425e2b4 /arch/x86/xen | |
parent | x86: fixup machine_ops reboot_{32|64}.c unification fallout (diff) | |
download | linux-37cc8d7f963ba2deec29c9b68716944516a3244f.tar.xz linux-37cc8d7f963ba2deec29c9b68716944516a3244f.zip |
x86/early_ioremap: don't assume we're using swapper_pg_dir
At the early stages of boot, before the kernel pagetable has been
fully initialized, a Xen kernel will still be running off the
Xen-provided pagetables rather than swapper_pg_dir[]. Therefore,
readback cr3 to determine the base of the pagetable rather than
assuming swapper_pg_dir[].
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Tested-by: Jody Belka <knew-linux@pimb.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions