]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Move gfn_to_index to x86 specific code
authorChristoffer Dall <christoffer.dall@linaro.org>
Wed, 2 Oct 2013 21:22:28 +0000 (14:22 -0700)
committerGleb Natapov <gleb@redhat.com>
Mon, 14 Oct 2013 07:11:44 +0000 (10:11 +0300)
commit7db02c70576df8041e4e462837969515364843da
tree150c27fc74edb392cce5a116b2042c976554853b
parent582c6db73e91cc6e429bdebbcf4357eca3212ebc
KVM: Move gfn_to_index to x86 specific code

The gfn_to_index function relies on huge page defines which either may
not make sense on systems that don't support huge pages or are defined
in an unconvenient way for other architectures.  Since this is
x86-specific, move the function to arch/x86/include/asm/kvm_host.h.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/include/asm/kvm_host.h
include/linux/kvm_host.h