aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-04-01 10:44:56 -0400
committerAvi Kivity <avi@qumranet.com>2008-04-27 05:00:55 -0400
commit9c20456a32ce9e82ccda55e12c10016b181d85e5 (patch)
tree06f8985c803d9ba90ffcc617a6403868c5f6f3c6 /include/asm-x86
parent3d45830c2b11a9d756faae161742b7d1ec417f7e (diff)
KVM: function declaration parameter name cleanup
The kvm_host.h file for x86 declares the functions kvm_set_cr[0348]. In the header file their second parameter is named cr0 in all cases. This patch renames the parameters so that they match the function name. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/kvm_host.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index 2b081ed44fdb..b9230490d777 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -495,9 +495,9 @@ int emulator_set_dr(struct x86_emulate_ctxt *ctxt, int dr,
495int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int reason); 495int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int reason);
496 496
497void kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0); 497void kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
498void kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr0); 498void kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3);
499void kvm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr0); 499void kvm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4);
500void kvm_set_cr8(struct kvm_vcpu *vcpu, unsigned long cr0); 500void kvm_set_cr8(struct kvm_vcpu *vcpu, unsigned long cr8);
501unsigned long kvm_get_cr8(struct kvm_vcpu *vcpu); 501unsigned long kvm_get_cr8(struct kvm_vcpu *vcpu);
502void kvm_lmsw(struct kvm_vcpu *vcpu, unsigned long msw); 502void kvm_lmsw(struct kvm_vcpu *vcpu, unsigned long msw);
503void kvm_get_cs_db_l_bits(struct kvm_vcpu *vcpu, int *db, int *l); 503void kvm_get_cs_db_l_bits(struct kvm_vcpu *vcpu, int *db, int *l);