| summaryrefslogtreecommitdiff |
| author | Jiri Kosina <jkosina@suse.cz> | 2012-06-19 09:56:30 (GMT) |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2012-06-19 09:56:30 (GMT) |
| commit | 888105a02105c733dc6239b4ab40256cc6fb759a (patch) (side-by-side diff) | |
| tree | b767174675cefa7bde55106bc0728179b5cbf8ba | |
| parent | 6f13e1ccb073ef9d455168f60dbc39c98be364cc (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index 0691268..5520932 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 |