From: Christoffer Dall Date: Wed, 2 Oct 2013 21:22:28 +0000 (-0700) Subject: KVM: Move gfn_to_index to x86 specific code X-Git-Tag: v3.13-rc1~80^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d9d41e57440e32a3400f37aa05ef7a1a09ced64;p=pandora-kernel.git 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 Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed