diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-08 09:40:05 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:19 -0500 |
commit | 6a58fb3bad099076f36f0f30f44507bc3275cdb6 (patch) | |
tree | 9a40117c941d914b1ef13463436657ae9721fea3 /include | |
parent | f230b6d5c48f8d12f4dfa1f8b5ab0b0320076d21 (diff) |
genirq: Remove CONFIG_IRQ_PER_CPU
The saving of this switch is minimal versus the ifdef mess it
creates. Simple enable PER_CPU unconditionally and remove the config
switch.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irq.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 2899905bfac7..ab708f27a33b 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -78,13 +78,8 @@ typedef void (*irq_flow_handler_t)(unsigned int irq, | |||
78 | IRQ_NOAUTOEN | IRQ_MOVE_PCNTXT | IRQ_LEVEL | IRQ_NO_BALANCING | \ | 78 | IRQ_NOAUTOEN | IRQ_MOVE_PCNTXT | IRQ_LEVEL | IRQ_NO_BALANCING | \ |
79 | IRQ_PER_CPU | IRQ_NESTED_THREAD) | 79 | IRQ_PER_CPU | IRQ_NESTED_THREAD) |
80 | 80 | ||
81 | #ifdef CONFIG_IRQ_PER_CPU | ||
82 | # define CHECK_IRQ_PER_CPU(var) ((var) & IRQ_PER_CPU) | 81 | # define CHECK_IRQ_PER_CPU(var) ((var) & IRQ_PER_CPU) |
83 | # define IRQ_NO_BALANCING_MASK (IRQ_PER_CPU | IRQ_NO_BALANCING) | 82 | # define IRQ_NO_BALANCING_MASK (IRQ_PER_CPU | IRQ_NO_BALANCING) |
84 | #else | ||
85 | # define CHECK_IRQ_PER_CPU(var) 0 | ||
86 | # define IRQ_NO_BALANCING_MASK IRQ_NO_BALANCING | ||
87 | #endif | ||
88 | 83 | ||
89 | /* | 84 | /* |
90 | * Return value for chip->irq_set_affinity() | 85 | * Return value for chip->irq_set_affinity() |