aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-12-11 19:23:11 +0200
committerAvi Kivity <avi@qumranet.com>2007-12-11 19:23:11 +0200
commit2018f67db6923910e135b6a8aaf1c9167cfa7f5d (patch)
tree99584051f9d0eff6593fb995f43f29c86daeb8d1
parent51ef1ac7b23ee32bfcc61c229d634fdc1c68b38a (diff)
KVM: MMU: Fix kunmap_atomic() call in cmpxchg_gpte()kvm-56rc3kvm-56rc2kvm-56
Signed-off-by: Avi Kivity <avi@qumranet.com>
-rw-r--r--drivers/kvm/paging_tmpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/paging_tmpl.h b/drivers/kvm/paging_tmpl.h
index 72d4816482af..3ab3fb635e16 100644
--- a/drivers/kvm/paging_tmpl.h
+++ b/drivers/kvm/paging_tmpl.h
@@ -95,7 +95,7 @@ static bool FNAME(cmpxchg_gpte)(struct kvm *kvm,
ret = CMPXCHG(&table[index], orig_pte, new_pte);
- kunmap_atomic(page, KM_USER0);
+ kunmap_atomic(table, KM_USER0);
kvm_release_page_dirty(page);