diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-28 21:59:37 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 01:41:22 +0200 |
commit | 0ef5ca1e1f0de71300142b8f730f26ded6a0c2f3 (patch) | |
tree | f8eb0e5e63b7d3115c27f110e59a762fd871d693 /kernel/irq/chip.c | |
parent | genirq: Fix typo and remove unused variable (diff) | |
download | linux-0ef5ca1e1f0de71300142b8f730f26ded6a0c2f3.tar.xz linux-0ef5ca1e1f0de71300142b8f730f26ded6a0c2f3.zip |
genirq; Fix cleanup fallout
I missed the CONFIG_GENERIC_PENDING_IRQ dependency in the affinity
related functions and the IRQ_LEVEL propagation into irq_data
state. Did not pop up on my main test platforms. :(
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: David Daney <ddaney@caviumnetworks.com>
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r-- | kernel/irq/chip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 451d1e81c15c..03099d521f5e 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -734,6 +734,8 @@ void irq_modify_status(unsigned int irq, unsigned long clr, unsigned long set) irqd_set(&desc->irq_data, IRQD_PER_CPU); if (irq_settings_can_move_pcntxt(desc)) irqd_set(&desc->irq_data, IRQD_MOVE_PCNTXT); + if (irq_settings_is_level(desc)) + irqd_set(&desc->irq_data, IRQD_LEVEL); irqd_set(&desc->irq_data, irq_settings_get_trigger_mask(desc)); |