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/include/asm-x86/io_apic.h | |
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/include/asm-x86/io_apic.h')
-rw-r--r-- | xen/include/asm-x86/io_apic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xen/include/asm-x86/io_apic.h b/xen/include/asm-x86/io_apic.h index e7a4dd675f..0cbd04039b 100644 --- a/xen/include/asm-x86/io_apic.h +++ b/xen/include/asm-x86/io_apic.h @@ -160,16 +160,11 @@ static inline void io_apic_write(unsigned int apic, unsigned int reg, unsigned i /* * Re-write a value: to be used for read-modify-write * cycles where the read already set up the index register. - * - * Older SiS APIC requires we rewrite the index regiser */ -#define sis_apic_bug 0 static inline void io_apic_modify(unsigned int apic, unsigned int reg, unsigned int value) { if (ioapic_reg_remapped(reg)) return iommu_update_ire_from_apic(apic, reg, value); - if (sis_apic_bug) - *IO_APIC_BASE(apic) = reg; *(IO_APIC_BASE(apic)+4) = value; } |