diff options
author | Keir Fraser <keir@xen.org> | 2012-09-12 15:52:33 +0100 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2012-09-12 15:52:33 +0100 |
commit | a1bba8211fd8e3f5ce4f130034c9a681046965d6 (patch) | |
tree | 0a837e1e09d155a38481d4c128ea131a0b3a8b1c /xen/arch/x86/platform_hypercall.c | |
parent | 218adf199e6868eb4a15644a63e6991ede1613bc (diff) | |
download | xen-a1bba8211fd8e3f5ce4f130034c9a681046965d6.tar.gz xen-a1bba8211fd8e3f5ce4f130034c9a681046965d6.tar.bz2 xen-a1bba8211fd8e3f5ce4f130034c9a681046965d6.zip |
x86: Remove unused 'sis_apic_bug' variable. It was only used on x86_32.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/platform_hypercall.c')
-rw-r--r-- | xen/arch/x86/platform_hypercall.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/xen/arch/x86/platform_hypercall.c b/xen/arch/x86/platform_hypercall.c index d75a83f2bc..073a2eaf02 100644 --- a/xen/arch/x86/platform_hypercall.c +++ b/xen/arch/x86/platform_hypercall.c @@ -207,17 +207,10 @@ ret_t do_platform_op(XEN_GUEST_HANDLE(xen_platform_op_t) u_xenpf_op) setup_ioapic_dest(); break; case QUIRK_IOAPIC_BAD_REGSEL: + dprintk(XENLOG_WARNING, + "Domain 0 thinks that IO-APIC REGSEL is bad\n"); + break; case QUIRK_IOAPIC_GOOD_REGSEL: -#ifndef sis_apic_bug - sis_apic_bug = (quirk_id == QUIRK_IOAPIC_BAD_REGSEL); - dprintk(XENLOG_INFO, "Domain 0 says that IO-APIC REGSEL is %s\n", - sis_apic_bug ? "bad" : "good"); -#else - if ( sis_apic_bug != (quirk_id == QUIRK_IOAPIC_BAD_REGSEL) ) - dprintk(XENLOG_WARNING, - "Domain 0 thinks that IO-APIC REGSEL is %s\n", - sis_apic_bug ? "good" : "bad"); -#endif break; default: ret = -EINVAL; |