diff options
-rw-r--r-- | include/linux/irq.h | 4 | ||||
-rw-r--r-- | kernel/irq/handle.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index a6899402b522..1695054e8c63 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -147,8 +147,6 @@ struct irq_chip { | |||
147 | * @dir: /proc/irq/ procfs entry | 147 | * @dir: /proc/irq/ procfs entry |
148 | * @affinity_entry: /proc/irq/smp_affinity procfs entry on SMP | 148 | * @affinity_entry: /proc/irq/smp_affinity procfs entry on SMP |
149 | * @name: flow handler name for /proc/interrupts output | 149 | * @name: flow handler name for /proc/interrupts output |
150 | * | ||
151 | * Pad this out to 32 bytes for cache and indexing reasons. | ||
152 | */ | 150 | */ |
153 | struct irq_desc { | 151 | struct irq_desc { |
154 | irq_flow_handler_t handle_irq; | 152 | irq_flow_handler_t handle_irq; |
@@ -175,7 +173,7 @@ struct irq_desc { | |||
175 | struct proc_dir_entry *dir; | 173 | struct proc_dir_entry *dir; |
176 | #endif | 174 | #endif |
177 | const char *name; | 175 | const char *name; |
178 | } ____cacheline_aligned; | 176 | } ____cacheline_internodealigned_in_smp; |
179 | 177 | ||
180 | extern struct irq_desc irq_desc[NR_IRQS]; | 178 | extern struct irq_desc irq_desc[NR_IRQS]; |
181 | 179 | ||
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index aff1f0fabb0d..515ad40bde15 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -48,7 +48,7 @@ handle_bad_irq(unsigned int irq, struct irq_desc *desc) | |||
48 | * | 48 | * |
49 | * Controller mappings for all interrupt sources: | 49 | * Controller mappings for all interrupt sources: |
50 | */ | 50 | */ |
51 | struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned = { | 51 | struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = { |
52 | [0 ... NR_IRQS-1] = { | 52 | [0 ... NR_IRQS-1] = { |
53 | .status = IRQ_DISABLED, | 53 | .status = IRQ_DISABLED, |
54 | .chip = &no_irq_chip, | 54 | .chip = &no_irq_chip, |