From: Takuya Yoshikawa Date: Wed, 27 Apr 2011 22:08:36 +0000 (+0900) Subject: KVM: MMU: Fix 64-bit paging breakage on x86_32 X-Git-Tag: v3.0-rc1~350^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f74d8e16812d63639871b4e56409b08bdcb66fc;p=pandora-kernel.git 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 Reported-by: Jan Kiszka Signed-off-by: Avi Kivity --- Reading git-diff-tree failed