diff options
-rw-r--r-- | arch/x86/kvm/mmu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 0dcc95e09876..311f6dad8951 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
@@ -281,11 +281,7 @@ static gfn_t pse36_gfn_delta(u32 gpte) | |||
281 | 281 | ||
282 | static void __set_spte(u64 *sptep, u64 spte) | 282 | static void __set_spte(u64 *sptep, u64 spte) |
283 | { | 283 | { |
284 | #ifdef CONFIG_X86_64 | 284 | set_64bit(sptep, spte); |
285 | set_64bit((unsigned long *)sptep, spte); | ||
286 | #else | ||
287 | set_64bit((unsigned long long *)sptep, spte); | ||
288 | #endif | ||
289 | } | 285 | } |
290 | 286 | ||
291 | static u64 __xchg_spte(u64 *sptep, u64 new_spte) | 287 | static u64 __xchg_spte(u64 *sptep, u64 new_spte) |