summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-12-28 02:43:51 -0500
committerLen Brown <len.brown@intel.com>2005-12-28 02:50:44 -0500
commitcb654695f6b912cef7cb3271665b6ee0d416124c (patch)
tree3aa96d52b12f81837d8a669099a4a7ac7807c8af /arch/x86_64/kernel
parent28f55ebce5bd2fceec8adc7c8860953d3e4532a8 (diff)
downloadblackbird-op-linux-cb654695f6b912cef7cb3271665b6ee0d416124c.tar.gz
blackbird-op-linux-cb654695f6b912cef7cb3271665b6ee0d416124c.zip
[ACPI] acpi_register_gsi() fix needed for ACPICA 20051021
Use the #define for ACPI_LEVEL_SENSITIVE instead of assuming non-zero, because ACPICA 20051021 changes its value to zero. Also, use uniform variable names: edge_level -> triggering active_high_low -> polarity Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/x86_64/kernel')
-rw-r--r--arch/x86_64/kernel/mpparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/mpparse.c b/arch/x86_64/kernel/mpparse.c
index ba817e7454b2..dc49bfb6db0a 100644
--- a/arch/x86_64/kernel/mpparse.c
+++ b/arch/x86_64/kernel/mpparse.c
@@ -964,7 +964,7 @@ int mp_register_gsi(u32 gsi, int triggering, int polarity)
mp_ioapic_routing[ioapic].pin_programmed[idx] |= (1<<bit);
- if (triggering) {
+ if (triggering == ACPI_LEVEL_SENSITIVE) {
/*
* For PCI devices assign IRQs in order, avoiding gaps
* due to unused I/O APIC pins.
OpenPOWER on IntegriCloud