KVM: Portability: Split mmu-related static inline functions to mmu.h
authorZhang Xiantao <xiantao.zhang@intel.com>
Fri, 14 Dec 2007 01:35:10 +0000 (09:35 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:58:09 +0000 (17:58 +0200)
commit1d737c8a68736db36e0aa502ace9da240704c5ae
treefb3bd80ccd7d0068563791d1ef0db24f035f71f8
parentad312c7c79f781c822e37effe41307503a2bb85b
KVM: Portability: Split mmu-related static inline functions to mmu.h

Since these functions need to know the details of kvm or kvm_vcpu structure,
it can't be put in x86.h.  Create mmu.h to hold them.

Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/mmu.c
drivers/kvm/mmu.h [new file with mode: 0644]
drivers/kvm/svm.c
drivers/kvm/vmx.c
drivers/kvm/x86.c
drivers/kvm/x86.h