aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-06-29 05:24:46 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-29 13:26:23 -0400
commit8d28bc751bb9ad479e33964d5d9eedfe5fb488a5 (patch)
tree23f23556a1b83e9e7e00bb0086bb57284389fb85 /kernel
parent8fee5c36177ee098fa41f5fe72999609fef4df6b (diff)
[PATCH] genirq: doc: handle_IRQ_event() and __do_IRQ() comments
Document handle_IRQ_event() and __do_IRQ(). 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 'kernel')
-rw-r--r--kernel/irq/handle.c20
1 files changed, 16 insertions, 4 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index 8eda1005d10a..7fc7bc33d497 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -76,8 +76,13 @@ irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs)
76 return IRQ_NONE; 76 return IRQ_NONE;
77} 77}
78 78
79/* 79/**
80 * Have got an event to handle: 80 * handle_IRQ_event - irq action chain handler
81 * @irq: the interrupt number
82 * @regs: pointer to a register structure
83 * @action: the interrupt action chain for this irq
84 *
85 * Handles the action chain of an irq event
81 */ 86 */
82irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, 87irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs,
83 struct irqaction *action) 88 struct irqaction *action)
@@ -103,10 +108,17 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs,
103 return retval; 108 return retval;
104} 109}
105 110
106/* 111/**
107 * do_IRQ handles all normal device IRQ's (the special 112 * __do_IRQ - original all in one highlevel IRQ handler
113 * @irq: the interrupt number
114 * @regs: pointer to a register structure
115 *
116 * __do_IRQ handles all normal device IRQ's (the special
108 * SMP cross-CPU interrupts have their own specific 117 * SMP cross-CPU interrupts have their own specific
109 * handlers). 118 * handlers).
119 *
120 * This is the original x86 implementation which is used for every
121 * interrupt type.
110 */ 122 */
111fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs) 123fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs)
112{ 124{