diff options
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2011-04-28 00:08:36 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-22 14:39:58 +0200 |
commit | 8f74d8e16812d63639871b4e56409b08bdcb66fc (patch) | |
tree | 5004b63ab74194b615fc51c10528332e38a95348 /arch/x86/kvm/svm.c | |
parent | KVM: ia64: fix sparse warnings (diff) | |
download | linux-8f74d8e16812d63639871b4e56409b08bdcb66fc.tar.xz linux-8f74d8e16812d63639871b4e56409b08bdcb66fc.zip |
KVM: MMU: Fix 64-bit paging breakage on x86_32
Fix regression introduced by
commit e30d2a170506830d5eef5e9d7990c5aedf1b0a51
KVM: MMU: Optimize guest page table walk
On x86_32, get_user() does not support 64-bit values and we fail to
build KVM at the point of 64-bit paging.
This patch fixes this by using get_user() twice for that condition.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Reported-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions