]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1a3912dacb93a61ed7c28053c71779e020ab4e7
tree908e6d3b59a3854d9a3db88b4d47817fee9b8517
parent093bd20d7b065454c12ddc762c52d3320011df86
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