Skip to content
Snippets Groups Projects
Commit 6d9d41e5 authored by Christoffer Dall's avatar Christoffer Dall Committed by Gleb Natapov
Browse files

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: default avatarChristoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
parent 7854cbca
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment