diff options
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 35f3f83b5c6c..7b22d396c149 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
@@ -1741,7 +1741,7 @@ static void svm_check_processor_compat(void *rtn) | |||
1741 | *(int *)rtn = 0; | 1741 | *(int *)rtn = 0; |
1742 | } | 1742 | } |
1743 | 1743 | ||
1744 | static struct kvm_arch_ops svm_arch_ops = { | 1744 | static struct kvm_x86_ops svm_x86_ops = { |
1745 | .cpu_has_kvm_support = has_svm, | 1745 | .cpu_has_kvm_support = has_svm, |
1746 | .disabled_by_bios = is_disabled, | 1746 | .disabled_by_bios = is_disabled, |
1747 | .hardware_setup = svm_hardware_setup, | 1747 | .hardware_setup = svm_hardware_setup, |
@@ -1794,13 +1794,13 @@ static struct kvm_arch_ops svm_arch_ops = { | |||
1794 | 1794 | ||
1795 | static int __init svm_init(void) | 1795 | static int __init svm_init(void) |
1796 | { | 1796 | { |
1797 | return kvm_init_arch(&svm_arch_ops, sizeof(struct vcpu_svm), | 1797 | return kvm_init_x86(&svm_x86_ops, sizeof(struct vcpu_svm), |
1798 | THIS_MODULE); | 1798 | THIS_MODULE); |
1799 | } | 1799 | } |
1800 | 1800 | ||
1801 | static void __exit svm_exit(void) | 1801 | static void __exit svm_exit(void) |
1802 | { | 1802 | { |
1803 | kvm_exit_arch(); | 1803 | kvm_exit_x86(); |
1804 | } | 1804 | } |
1805 | 1805 | ||
1806 | module_init(svm_init) | 1806 | module_init(svm_init) |