diff options
-rw-r--r-- | kernel/irq/handle.c | 20 |
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 | */ |
82 | irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, | 87 | irqreturn_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 | */ |
111 | fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs) | 123 | fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs) |
112 | { | 124 | { |