diff options
author | Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> | 2007-02-02 11:48:22 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:29 -0500 |
commit | 5f3b1a8b6737b09ce5df4ec9fad4ad271aecb5fb (patch) | |
tree | 5b3e343ab0c4c963f681afc2bfbba815b26e045b /drivers/acpi/bus.c | |
parent | ad363f80c386bc4701b1bc2cdf08ca9b96a9337b (diff) |
ACPICA: Remove duplicate table definitions (non-conflicting)
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r-- | drivers/acpi/bus.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 324b0991943e..15d677e6cee9 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
@@ -620,15 +620,16 @@ void __init acpi_early_init(void) | |||
620 | 620 | ||
621 | #ifdef CONFIG_X86 | 621 | #ifdef CONFIG_X86 |
622 | if (!acpi_ioapic) { | 622 | if (!acpi_ioapic) { |
623 | extern acpi_interrupt_flags acpi_sci_flags; | 623 | extern u8 acpi_sci_flags; |
624 | 624 | ||
625 | /* compatible (0) means level (3) */ | 625 | /* compatible (0) means level (3) */ |
626 | if (acpi_sci_flags.trigger == 0) | 626 | if (!(acpi_sci_flags & ACPI_MADT_TRIGGER_MASK)) { |
627 | acpi_sci_flags.trigger = 3; | 627 | acpi_sci_flags &= ~ACPI_MADT_TRIGGER_MASK; |
628 | 628 | acpi_sci_flags |= ACPI_MADT_TRIGGER_LEVEL; | |
629 | } | ||
629 | /* Set PIC-mode SCI trigger type */ | 630 | /* Set PIC-mode SCI trigger type */ |
630 | acpi_pic_sci_set_trigger(acpi_gbl_FADT.sci_interrupt, | 631 | acpi_pic_sci_set_trigger(acpi_gbl_FADT.sci_interrupt, |
631 | acpi_sci_flags.trigger); | 632 | (acpi_sci_flags & ACPI_MADT_TRIGGER_MASK) >> 2); |
632 | } else { | 633 | } else { |
633 | extern int acpi_sci_override_gsi; | 634 | extern int acpi_sci_override_gsi; |
634 | /* | 635 | /* |