KVM: MMU: make the __nonpaging_map function generic
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 7 Feb 2008 12:47:42 +0000 (13:47 +0100)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:20 +0000 (11:53 +0300)
commit4d9976bbdc09e08b69fc12fee2042c3528187b32
tree908e6d3b59a3854d9a3db88b4d47817fee9b8517
parent1855267210e1a8c9d41fe3a3c7a0d42eca5fb7cd
KVM: MMU: make the __nonpaging_map function generic

The mapping function for the nonpaging case in the softmmu does basically the
same as required for Nested Paging. Make this function generic so it can be
used for both.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/mmu.c