diff options
Diffstat (limited to 'arch/x86_64/kernel/io_apic.c')
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index afac3dbb3729..0491019d4c8d 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c | |||
@@ -1748,19 +1748,6 @@ device_initcall(ioapic_init_sysfs); | |||
1748 | 1748 | ||
1749 | #define IO_APIC_MAX_ID 0xFE | 1749 | #define IO_APIC_MAX_ID 0xFE |
1750 | 1750 | ||
1751 | int __init io_apic_get_version (int ioapic) | ||
1752 | { | ||
1753 | union IO_APIC_reg_01 reg_01; | ||
1754 | unsigned long flags; | ||
1755 | |||
1756 | spin_lock_irqsave(&ioapic_lock, flags); | ||
1757 | reg_01.raw = io_apic_read(ioapic, 1); | ||
1758 | spin_unlock_irqrestore(&ioapic_lock, flags); | ||
1759 | |||
1760 | return reg_01.bits.version; | ||
1761 | } | ||
1762 | |||
1763 | |||
1764 | int __init io_apic_get_redir_entries (int ioapic) | 1751 | int __init io_apic_get_redir_entries (int ioapic) |
1765 | { | 1752 | { |
1766 | union IO_APIC_reg_01 reg_01; | 1753 | union IO_APIC_reg_01 reg_01; |