Home Home > GIT Browse > vanilla
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2012-06-19 11:56:30 +0200
committerJiri Kosina <jkosina@suse.cz>2012-06-19 11:56:30 +0200
commit888105a02105c733dc6239b4ab40256cc6fb759a (patch)
treeb767174675cefa7bde55106bc0728179b5cbf8ba
parent6f13e1ccb073ef9d455168f60dbc39c98be364cc (diff)
- patches.arch/paravirt-stub-kabi-for-KVM_MMU.patch: Refresh.rpm-3.0.34-0.7
Drop omitted ifdef in get_call_destination(), which resulted in all the stubs still going through NULL pointer, as pv_mmu_ops were not used properly for patching. This harmed KMPs with statically inlined APIs. suse-commit: fbfc70c72ac966794c5f4ec379d66488cfe3f10b
-rw-r--r--arch/x86/kernel/paravirt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c
index 069126849262..5520932177d2 100644
--- a/arch/x86/kernel/paravirt.c
+++ b/arch/x86/kernel/paravirt.c
@@ -128,9 +128,7 @@ static void *get_call_destination(u8 type)
.pv_cpu_ops = pv_cpu_ops,
.pv_irq_ops = pv_irq_ops,
.pv_apic_ops = pv_apic_ops,
-#ifdef CONFIG_PARAVIRT_MMU
.pv_mmu_ops = pv_mmu_ops,
-#endif
#ifdef CONFIG_PARAVIRT_SPINLOCKS
.pv_lock_ops = pv_lock_ops,
#endif