diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:31 -0400 |
commit | 3060d6fe28570640c2d7d66d38b9eaa848c3b9e3 (patch) | |
tree | 838027c0f8ac336d82b606ba9a61e02453a6de68 /include | |
parent | e5a53714acfc7b5f868d07d27c5f02cb00b118db (diff) |
x86: put timer_rand_state pointer into irq_desc
irq_timer_state[] is a NR_IRQS sized array that is a side-by array to
the real irq_desc[] array.
Integrate that field into the (now dynamic) irq_desc dynamic array and
save some RAM.
v2: keep the old way to support arch not support irq_desc
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 80b8200f2adb..60c856aaac0f 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -127,6 +127,7 @@ struct irq_chip { | |||
127 | const char *typename; | 127 | const char *typename; |
128 | }; | 128 | }; |
129 | 129 | ||
130 | struct timer_rand_state; | ||
130 | /** | 131 | /** |
131 | * struct irq_desc - interrupt descriptor | 132 | * struct irq_desc - interrupt descriptor |
132 | * | 133 | * |
@@ -155,6 +156,7 @@ struct irq_desc { | |||
155 | unsigned int irq; | 156 | unsigned int irq; |
156 | #ifdef CONFIG_HAVE_SPARSE_IRQ | 157 | #ifdef CONFIG_HAVE_SPARSE_IRQ |
157 | struct irq_desc *next; | 158 | struct irq_desc *next; |
159 | struct timer_rand_state *timer_rand_state; | ||
158 | #endif | 160 | #endif |
159 | irq_flow_handler_t handle_irq; | 161 | irq_flow_handler_t handle_irq; |
160 | struct irq_chip *chip; | 162 | struct irq_chip *chip; |