aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/io_apic.h
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-09-30 21:14:34 +0100
committerKeir Fraser <keir@xen.org>2011-09-30 21:14:34 +0100
commit10fd868e6ca92ac42057cb53199922b7ae13ba9c (patch)
treeb694f75ae125d41dfe4457f5a3202e17794020e4 /xen/include/asm-x86/io_apic.h
parent150ce86b4c5b51c036ed6b4d2b86f1cb01bef797 (diff)
downloadxen-10fd868e6ca92ac42057cb53199922b7ae13ba9c.tar.gz
xen-10fd868e6ca92ac42057cb53199922b7ae13ba9c.tar.bz2
xen-10fd868e6ca92ac42057cb53199922b7ae13ba9c.zip
IRQ Cleanup: rename nr_ioapic_registers to nr_ioapic_entries
The name "nr_ioapic_registers" is wrong and actively misleading. The variable holds the number of redirection entries for each apic, which is two registers fewer than the total number of registers. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/io_apic.h')
-rw-r--r--xen/include/asm-x86/io_apic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/io_apic.h b/xen/include/asm-x86/io_apic.h
index a32daa139a..d561534a98 100644
--- a/xen/include/asm-x86/io_apic.h
+++ b/xen/include/asm-x86/io_apic.h
@@ -77,7 +77,7 @@ union IO_APIC_reg_03 {
* # of IO-APICs and # of IRQ routing registers
*/
extern int nr_ioapics;
-extern int nr_ioapic_registers[MAX_IO_APICS];
+extern int nr_ioapic_entries[MAX_IO_APICS];
enum ioapic_irq_destination_types {
dest_Fixed = 0,