diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-05-02 13:27:15 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 13:27:15 -0400 |
commit | a27fe809b82c5e18932fcceded28d0d1481ce7bb (patch) | |
tree | b4d33cd8b3f038a84534d4d3302c0704e3959599 /arch | |
parent | d4c104771a1c58e3de2a888b73b0ba1b54c0ae76 (diff) |
[PATCH] i386: PARAVIRT: revert map_pt_hook.
Back out the map_pt_hook to clear the way for kmap_atomic_pte.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Zachary Amsden <zach@vmware.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/paravirt.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/vmi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/paravirt.c b/arch/i386/kernel/paravirt.c index c7f0cf92925f..13f41b5c887a 100644 --- a/arch/i386/kernel/paravirt.c +++ b/arch/i386/kernel/paravirt.c | |||
@@ -302,8 +302,6 @@ struct paravirt_ops paravirt_ops = { | |||
302 | .flush_tlb_single = native_flush_tlb_single, | 302 | .flush_tlb_single = native_flush_tlb_single, |
303 | .flush_tlb_others = native_flush_tlb_others, | 303 | .flush_tlb_others = native_flush_tlb_others, |
304 | 304 | ||
305 | .map_pt_hook = paravirt_nop, | ||
306 | |||
307 | .alloc_pt = paravirt_nop, | 305 | .alloc_pt = paravirt_nop, |
308 | .alloc_pd = paravirt_nop, | 306 | .alloc_pd = paravirt_nop, |
309 | .alloc_pd_clone = paravirt_nop, | 307 | .alloc_pd_clone = paravirt_nop, |
diff --git a/arch/i386/kernel/vmi.c b/arch/i386/kernel/vmi.c index b8d01c3cbff4..ccad7ee960aa 100644 --- a/arch/i386/kernel/vmi.c +++ b/arch/i386/kernel/vmi.c | |||
@@ -851,8 +851,10 @@ static inline int __init activate_vmi(void) | |||
851 | paravirt_ops.release_pt = vmi_release_pt; | 851 | paravirt_ops.release_pt = vmi_release_pt; |
852 | paravirt_ops.release_pd = vmi_release_pd; | 852 | paravirt_ops.release_pd = vmi_release_pd; |
853 | } | 853 | } |
854 | #if 0 | ||
854 | para_wrap(map_pt_hook, vmi_map_pt_hook, set_linear_mapping, | 855 | para_wrap(map_pt_hook, vmi_map_pt_hook, set_linear_mapping, |
855 | SetLinearMapping); | 856 | SetLinearMapping); |
857 | #endif | ||
856 | 858 | ||
857 | /* | 859 | /* |
858 | * These MUST always be patched. Don't support indirect jumps | 860 | * These MUST always be patched. Don't support indirect jumps |