diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-22 19:25:18 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-22 19:25:18 -0500 |
commit | 54b56170e4517e9606b245c3f805fc96baa059f0 (patch) | |
tree | 9f8750ef972b4a7fdce530889dcbaf2a8b5b0d05 /arch/x86/kernel/acpi | |
parent | 1f91233c26fd5f7d6525fd29b95e4b50ca7a3e88 (diff) | |
parent | d02e30c31c57683a66ed68a1bcff900ca78f6d56 (diff) |
Merge remote branch 'origin/x86/apic' into x86/mrst
Conflicts:
arch/x86/kernel/apic/io_apic.c
Diffstat (limited to 'arch/x86/kernel/acpi')
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 054a5f5548b0..db2773c6defd 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -447,6 +447,12 @@ void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger) | |||
447 | int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) | 447 | int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) |
448 | { | 448 | { |
449 | *irq = gsi; | 449 | *irq = gsi; |
450 | |||
451 | #ifdef CONFIG_X86_IO_APIC | ||
452 | if (acpi_irq_model == ACPI_IRQ_MODEL_IOAPIC) | ||
453 | setup_IO_APIC_irq_extra(gsi); | ||
454 | #endif | ||
455 | |||
450 | return 0; | 456 | return 0; |
451 | } | 457 | } |
452 | 458 | ||
@@ -474,7 +480,8 @@ int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, int polarity) | |||
474 | plat_gsi = mp_register_gsi(dev, gsi, trigger, polarity); | 480 | plat_gsi = mp_register_gsi(dev, gsi, trigger, polarity); |
475 | } | 481 | } |
476 | #endif | 482 | #endif |
477 | acpi_gsi_to_irq(plat_gsi, &irq); | 483 | irq = plat_gsi; |
484 | |||
478 | return irq; | 485 | return irq; |
479 | } | 486 | } |
480 | 487 | ||