diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-06-29 05:24:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 13:26:22 -0400 |
commit | 4a733ee12618cf3ec25cbc337a5e0ba3ad5d7fb6 (patch) | |
tree | efee6dfbfcfd08fbe1f2462afb299aeb5624354b /include/linux/irq.h | |
parent | 71d218b75fa91219c6bd310fbdd257dfbcac6c88 (diff) |
[PATCH] genirq: cleanup: merge irq_dir[], smp_affinity_entry[] into irq_desc[]
Consolidation: remove the irq_dir[NR_IRQS] and the smp_affinity_entry[NR_IRQS]
arrays and move them into the irq_desc[] array.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index c13f23dee286..1022c5d42546 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -61,6 +61,8 @@ struct hw_interrupt_type { | |||
61 | 61 | ||
62 | typedef struct hw_interrupt_type hw_irq_controller; | 62 | typedef struct hw_interrupt_type hw_irq_controller; |
63 | 63 | ||
64 | struct proc_dir_entry; | ||
65 | |||
64 | /* | 66 | /* |
65 | * This is the "IRQ descriptor", which contains various information | 67 | * This is the "IRQ descriptor", which contains various information |
66 | * about the irq, including what kind of hardware handling it has, | 68 | * about the irq, including what kind of hardware handling it has, |
@@ -83,6 +85,9 @@ struct irq_desc { | |||
83 | #if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE) | 85 | #if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE) |
84 | unsigned int move_irq; /* need to re-target IRQ dest */ | 86 | unsigned int move_irq; /* need to re-target IRQ dest */ |
85 | #endif | 87 | #endif |
88 | #ifdef CONFIG_PROC_FS | ||
89 | struct proc_dir_entry *dir; | ||
90 | #endif | ||
86 | } ____cacheline_aligned; | 91 | } ____cacheline_aligned; |
87 | 92 | ||
88 | extern struct irq_desc irq_desc[NR_IRQS]; | 93 | extern struct irq_desc irq_desc[NR_IRQS]; |