[PATCH] genirq:fixup missing SA_PERCPU replacement

The irqflags consolidation converted SA_PERCPU_IRQ to IRQF_PERCPU but
did not define the new constant.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Thomas Gleixner and committed by Linus Torvalds 284c6680 52e405ea

+4 -2
+2
include/linux/interrupt.h
··· 45 45 #define IRQF_SHARED 0x00000080 46 46 #define IRQF_PROBE_SHARED 0x00000100 47 47 #define IRQF_TIMER 0x00000200 48 + #define IRQF_PERCPU 0x00000400 48 49 49 50 /* 50 51 * Migration helpers. Scheduled for removal in 1/2007 ··· 55 54 #define SA_SAMPLE_RANDOM IRQF_SAMPLE_RANDOM 56 55 #define SA_SHIRQ IRQF_SHARED 57 56 #define SA_PROBEIRQ IRQF_PROBE_SHARED 57 + #define SA_PERCPU IRQF_PERCPU 58 58 59 59 #define SA_TRIGGER_LOW IRQF_TRIGGER_LOW 60 60 #define SA_TRIGGER_HIGH IRQF_TRIGGER_HIGH
+2 -2
kernel/irq/manage.c
··· 234 234 ((old->flags ^ new->flags) & IRQF_TRIGGER_MASK)) 235 235 goto mismatch; 236 236 237 - #if defined(CONFIG_IRQ_PER_CPU) && defined(IRQF_PERCPU) 237 + #if defined(CONFIG_IRQ_PER_CPU) 238 238 /* All handlers must agree on per-cpuness */ 239 239 if ((old->flags & IRQF_PERCPU) != 240 240 (new->flags & IRQF_PERCPU)) ··· 250 250 } 251 251 252 252 *p = new; 253 - #if defined(CONFIG_IRQ_PER_CPU) && defined(IRQF_PERCPU) 253 + #if defined(CONFIG_IRQ_PER_CPU) 254 254 if (new->flags & IRQF_PERCPU) 255 255 desc->status |= IRQ_PER_CPU; 256 256 #endif