diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-20 08:30:02 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-31 03:35:45 -0400 |
commit | 030cb6c00d242c20e92a3327d0cac17ce02d0cc3 (patch) | |
tree | f821964ab9ec5b781bf0b9a7831deec04c8f58c8 /arch/x86/kernel/paravirt.c | |
parent | 6f30c1ac3fcf11e08f00670f293546a112cdf4e3 (diff) |
x86: Move paravirt pagetable_setup to x86_init_ops
Replace more paravirt hackery by proper x86_init_ops.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/paravirt.c')
-rw-r--r-- | arch/x86/kernel/paravirt.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index f7a5fb79d18a..8167be0b68ca 100644 --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c | |||
@@ -402,13 +402,6 @@ struct pv_apic_ops pv_apic_ops = { | |||
402 | #endif | 402 | #endif |
403 | 403 | ||
404 | struct pv_mmu_ops pv_mmu_ops = { | 404 | struct pv_mmu_ops pv_mmu_ops = { |
405 | #ifndef CONFIG_X86_64 | ||
406 | .pagetable_setup_start = native_pagetable_setup_start, | ||
407 | .pagetable_setup_done = native_pagetable_setup_done, | ||
408 | #else | ||
409 | .pagetable_setup_start = paravirt_nop, | ||
410 | .pagetable_setup_done = paravirt_nop, | ||
411 | #endif | ||
412 | 405 | ||
413 | .read_cr2 = native_read_cr2, | 406 | .read_cr2 = native_read_cr2, |
414 | .write_cr2 = native_write_cr2, | 407 | .write_cr2 = native_write_cr2, |