aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-23 04:16:31 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-26 10:34:07 -0800
commita27bc06dd8ee6ad6394e8a76345660b93621b51b (patch)
tree99eb63480f0f9d1700676072601091a317808950
parente560c8bd866bfa284b2c5978efcaf1bd16ee9fc3 (diff)
[PATCH] x86_64 irq: Remove the unused vector parameter from ioapic_register_intr
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/x86_64/kernel/io_apic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c
index 2d154e1a6fd..a69c38b6262 100644
--- a/arch/x86_64/kernel/io_apic.c
+++ b/arch/x86_64/kernel/io_apic.c
@@ -799,7 +799,7 @@ static struct irq_chip ioapic_chip;
#define IOAPIC_EDGE 0
#define IOAPIC_LEVEL 1
-static void ioapic_register_intr(int irq, int vector, unsigned long trigger)
+static void ioapic_register_intr(int irq, unsigned long trigger)
{
if ((trigger == IOAPIC_AUTO && IO_APIC_irq_trigger(irq)) ||
trigger == IOAPIC_LEVEL)
@@ -847,7 +847,7 @@ static void __init setup_IO_APIC_irq(int apic, int pin, int idx, int irq)
entry.dest = cpu_mask_to_apicid(mask);
entry.vector = vector;
- ioapic_register_intr(irq, vector, IOAPIC_AUTO);
+ ioapic_register_intr(irq, IOAPIC_AUTO);
if (!apic && (irq < 16))
disable_8259A_irq(irq);
}
@@ -2133,7 +2133,7 @@ int io_apic_set_pci_routing (int ioapic, int pin, int irq, int triggering, int p
mp_ioapics[ioapic].mpc_apicid, pin, entry.vector, irq,
triggering, polarity);
- ioapic_register_intr(irq, entry.vector, triggering);
+ ioapic_register_intr(irq, triggering);
if (!ioapic && (irq < 16))
disable_8259A_irq(irq);