summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-03-30 01:07:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-05-04 13:34:52 -0700
commiteddb0c55a14074d6bac8c2ef169aefd7e2c6f139 (patch)
treeaf2b386d675df717647602f5e6ce7bb5ed4f992b /arch/x86/kernel/apic
parent4b6b19a1c7302477653d799a53d48063dd53d555 (diff)
downloadblackbird-op-linux-eddb0c55a14074d6bac8c2ef169aefd7e2c6f139.tar.gz
blackbird-op-linux-eddb0c55a14074d6bac8c2ef169aefd7e2c6f139.zip
x86, ioapic: Fix the types of gsi values
This patches fixes the types of gsi_base and gsi_end values in struct mp_ioapic_gsi, and the gsi parameter of mp_find_ioapic and mp_find_ioapic_pin A gsi is cannonically a u32, not an int. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> LKML-Reference: <1269936436-7039-8-git-send-email-ebiederm@xmission.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r--arch/x86/kernel/apic/io_apic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 0a053e61b3ea..9ab97622b8e6 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -4247,7 +4247,7 @@ void __init ioapic_insert_resources(void)
}
}
-int mp_find_ioapic(int gsi)
+int mp_find_ioapic(u32 gsi)
{
int i = 0;
@@ -4262,7 +4262,7 @@ int mp_find_ioapic(int gsi)
return -1;
}
-int mp_find_ioapic_pin(int ioapic, int gsi)
+int mp_find_ioapic_pin(int ioapic, u32 gsi)
{
if (WARN_ON(ioapic == -1))
return -1;
OpenPOWER on IntegriCloud