summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/sfi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/sfi.c')
-rw-r--r--arch/x86/kernel/sfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/sfi.c b/arch/x86/kernel/sfi.c
index 7ded57896c0a..cb22acf3ed09 100644
--- a/arch/x86/kernel/sfi.c
+++ b/arch/x86/kernel/sfi.c
@@ -93,7 +93,7 @@ static int __init sfi_parse_ioapic(struct sfi_table_header *table)
pentry = (struct sfi_apic_table_entry *)sb->pentry;
for (i = 0; i < num; i++) {
- mp_register_ioapic(i, pentry->phys_addr, gsi_end + 1);
+ mp_register_ioapic(i, pentry->phys_addr, gsi_top);
pentry++;
}