diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:17 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:51 -0400 |
commit | cb5bc83225a86ca53bbb889ed8439e4fd6cf44ac (patch) | |
tree | d2c43413adbc86562ab63498e3ce14e36ba253ed /include/linux/irq.h | |
parent | 1d5f6b36c4736af1dac396d6267eb53dcc8c0021 (diff) |
x86_64: rename irq_desc/irq_desc_alloc
change names:
irq_desc() ==> irq_desc_alloc
__irq_desc() ==> irq_desc
Also split a few of the uses in lowlevel x86 code.
v2: need to check if desc is null in smp_irq_move_cleanup
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 7b59e193a119..5fe1b01c11fe 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -191,7 +191,7 @@ struct irq_desc { | |||
191 | } ____cacheline_internodealigned_in_smp; | 191 | } ____cacheline_internodealigned_in_smp; |
192 | 192 | ||
193 | extern struct irq_desc *irq_to_desc(unsigned int irq); | 193 | extern struct irq_desc *irq_to_desc(unsigned int irq); |
194 | extern struct irq_desc *__irq_to_desc(unsigned int irq); | 194 | extern struct irq_desc *irq_to_desc_alloc(unsigned int irq); |
195 | 195 | ||
196 | #ifndef CONFIG_HAVE_SPARSE_IRQ | 196 | #ifndef CONFIG_HAVE_SPARSE_IRQ |
197 | 197 | ||