aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>2007-09-09 08:41:59 -0400
committerAvi Kivity <avi@qumranet.com>2007-10-13 04:18:27 -0400
commitcbdd1bea2a2dce4c0b45c5f0122c150d9f07f0bc (patch)
treec01443051868880733c2973abdd59c1d82fdd243 /drivers/kvm/svm.c
parent0d8d2bd4f20c8a2a254b4fe3bc114f12214a6d73 (diff)
KVM: Rename kvm_arch_ops to kvm_x86_ops
This patch just renames the current (misnamed) _arch namings to _x86 to ensure better readability when a real arch layer takes place. Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r--drivers/kvm/svm.c6
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
1744static struct kvm_arch_ops svm_arch_ops = { 1744static 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
1795static int __init svm_init(void) 1795static 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
1801static void __exit svm_exit(void) 1801static void __exit svm_exit(void)
1802{ 1802{
1803 kvm_exit_arch(); 1803 kvm_exit_x86();
1804} 1804}
1805 1805
1806module_init(svm_init) 1806module_init(svm_init)