diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-11-14 07:39:31 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:02 -0500 |
commit | cb498ea2ce1d3f3c0bc0a2522241dca10263e437 (patch) | |
tree | 255eeaa3581a79ceb77772c1350faa95ce4706a6 /drivers/kvm/svm.c | |
parent | e9b11c17552afe684e9e5d0444309a3ddf410116 (diff) |
KVM: Portability: Combine kvm_init and kvm_init_x86
Will be called once arch module registers itself.
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/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 97863f8fd001..0ccbef18476a 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
@@ -1723,13 +1723,13 @@ static struct kvm_x86_ops svm_x86_ops = { | |||
1723 | 1723 | ||
1724 | static int __init svm_init(void) | 1724 | static int __init svm_init(void) |
1725 | { | 1725 | { |
1726 | return kvm_init_x86(&svm_x86_ops, sizeof(struct vcpu_svm), | 1726 | return kvm_init(&svm_x86_ops, sizeof(struct vcpu_svm), |
1727 | THIS_MODULE); | 1727 | THIS_MODULE); |
1728 | } | 1728 | } |
1729 | 1729 | ||
1730 | static void __exit svm_exit(void) | 1730 | static void __exit svm_exit(void) |
1731 | { | 1731 | { |
1732 | kvm_exit_x86(); | 1732 | kvm_exit(); |
1733 | } | 1733 | } |
1734 | 1734 | ||
1735 | module_init(svm_init) | 1735 | module_init(svm_init) |