diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-13 20:35:10 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:58:09 -0500 |
commit | 1d737c8a68736db36e0aa502ace9da240704c5ae (patch) | |
tree | fb3bd80ccd7d0068563791d1ef0db24f035f71f8 /drivers/kvm/kvm.h | |
parent | ad312c7c79f781c822e37effe41307503a2bb85b (diff) |
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>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 668a8300365d..c040bb3ac819 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -396,6 +396,7 @@ void kvm_arch_hardware_disable(void *garbage); | |||
396 | int kvm_arch_hardware_setup(void); | 396 | int kvm_arch_hardware_setup(void); |
397 | void kvm_arch_hardware_unsetup(void); | 397 | void kvm_arch_hardware_unsetup(void); |
398 | void kvm_arch_check_processor_compat(void *rtn); | 398 | void kvm_arch_check_processor_compat(void *rtn); |
399 | int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu); | ||
399 | 400 | ||
400 | void kvm_free_physmem(struct kvm *kvm); | 401 | void kvm_free_physmem(struct kvm *kvm); |
401 | 402 | ||