]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit6d9d41e57440e32a3400f37aa05ef7a1a09ced64
tree150c27fc74edb392cce5a116b2042c976554853b
parent7854cbca815562a49d50bbc6f31599312853d1f4
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