aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-03-03 15:59:56 -0500
committerAvi Kivity <avi@qumranet.com>2008-04-27 04:53:27 -0400
commitb8688d51bbe4872fbcec751e04369606082ac610 (patch)
treea48191f442d49530265dc92e98fc4877d2e286f7 /arch/x86/kvm/x86.c
parent71c4dfafc0932d92cc99c7e839d25174b0ce10a1 (diff)
KVM: replace remaining __FUNCTION__ occurances
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 491eda308289..bf78d6522d3d 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -563,15 +563,15 @@ int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data)
563 break; 563 break;
564 case MSR_IA32_MC0_STATUS: 564 case MSR_IA32_MC0_STATUS:
565 pr_unimpl(vcpu, "%s: MSR_IA32_MC0_STATUS 0x%llx, nop\n", 565 pr_unimpl(vcpu, "%s: MSR_IA32_MC0_STATUS 0x%llx, nop\n",
566 __FUNCTION__, data); 566 __func__, data);
567 break; 567 break;
568 case MSR_IA32_MCG_STATUS: 568 case MSR_IA32_MCG_STATUS:
569 pr_unimpl(vcpu, "%s: MSR_IA32_MCG_STATUS 0x%llx, nop\n", 569 pr_unimpl(vcpu, "%s: MSR_IA32_MCG_STATUS 0x%llx, nop\n",
570 __FUNCTION__, data); 570 __func__, data);
571 break; 571 break;
572 case MSR_IA32_MCG_CTL: 572 case MSR_IA32_MCG_CTL:
573 pr_unimpl(vcpu, "%s: MSR_IA32_MCG_CTL 0x%llx, nop\n", 573 pr_unimpl(vcpu, "%s: MSR_IA32_MCG_CTL 0x%llx, nop\n",
574 __FUNCTION__, data); 574 __func__, data);
575 break; 575 break;
576 case MSR_IA32_UCODE_REV: 576 case MSR_IA32_UCODE_REV:
577 case MSR_IA32_UCODE_WRITE: 577 case MSR_IA32_UCODE_WRITE:
@@ -1939,7 +1939,7 @@ int emulator_get_dr(struct x86_emulate_ctxt *ctxt, int dr, unsigned long *dest)
1939 *dest = kvm_x86_ops->get_dr(vcpu, dr); 1939 *dest = kvm_x86_ops->get_dr(vcpu, dr);
1940 return X86EMUL_CONTINUE; 1940 return X86EMUL_CONTINUE;
1941 default: 1941 default:
1942 pr_unimpl(vcpu, "%s: unexpected dr %u\n", __FUNCTION__, dr); 1942 pr_unimpl(vcpu, "%s: unexpected dr %u\n", __func__, dr);
1943 return X86EMUL_UNHANDLEABLE; 1943 return X86EMUL_UNHANDLEABLE;
1944 } 1944 }
1945} 1945}
@@ -2486,7 +2486,7 @@ unsigned long realmode_get_cr(struct kvm_vcpu *vcpu, int cr)
2486 case 8: 2486 case 8:
2487 return kvm_get_cr8(vcpu); 2487 return kvm_get_cr8(vcpu);
2488 default: 2488 default:
2489 vcpu_printf(vcpu, "%s: unexpected cr %u\n", __FUNCTION__, cr); 2489 vcpu_printf(vcpu, "%s: unexpected cr %u\n", __func__, cr);
2490 return 0; 2490 return 0;
2491 } 2491 }
2492} 2492}
@@ -2512,7 +2512,7 @@ void realmode_set_cr(struct kvm_vcpu *vcpu, int cr, unsigned long val,
2512 kvm_set_cr8(vcpu, val & 0xfUL); 2512 kvm_set_cr8(vcpu, val & 0xfUL);
2513 break; 2513 break;
2514 default: 2514 default:
2515 vcpu_printf(vcpu, "%s: unexpected cr %u\n", __FUNCTION__, cr); 2515 vcpu_printf(vcpu, "%s: unexpected cr %u\n", __func__, cr);
2516 } 2516 }
2517} 2517}
2518 2518