提交 8d28bc75 编写于 作者: I Ingo Molnar 提交者: Linus Torvalds

[PATCH] genirq: doc: handle_IRQ_event() and __do_IRQ() comments

Document handle_IRQ_event() and __do_IRQ().
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8fee5c36
...@@ -76,8 +76,13 @@ irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs) ...@@ -76,8 +76,13 @@ irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs)
return IRQ_NONE; return IRQ_NONE;
} }
/* /**
* Have got an event to handle: * handle_IRQ_event - irq action chain handler
* @irq: the interrupt number
* @regs: pointer to a register structure
* @action: the interrupt action chain for this irq
*
* Handles the action chain of an irq event
*/ */
irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs,
struct irqaction *action) struct irqaction *action)
...@@ -103,10 +108,17 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, ...@@ -103,10 +108,17 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs,
return retval; return retval;
} }
/* /**
* do_IRQ handles all normal device IRQ's (the special * __do_IRQ - original all in one highlevel IRQ handler
* @irq: the interrupt number
* @regs: pointer to a register structure
*
* __do_IRQ handles all normal device IRQ's (the special
* SMP cross-CPU interrupts have their own specific * SMP cross-CPU interrupts have their own specific
* handlers). * handlers).
*
* This is the original x86 implementation which is used for every
* interrupt type.
*/ */
fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs) fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册