diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-06-29 05:24:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 13:26:22 -0400 |
commit | 2e60bbb6d50de654d8e68f115161e27878b5e72d (patch) | |
tree | ff92bd2a7aa0a6bcb3b00280fbb906ea1006b226 | |
parent | a8553acd6c14e827078779c0a0ee1c18f27b2403 (diff) |
[PATCH] genirq: cleanup: remove fastcall
Now that i386 defaults to regparm, explicit uses of fastcall are not needed
anymore.
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>
-rw-r--r-- | include/linux/irq.h | 10 | ||||
-rw-r--r-- | kernel/irq/handle.c | 4 |
2 files changed, 9 insertions, 5 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 80713d6e8c8d..eac1273dc4e1 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -170,11 +170,15 @@ static inline void set_balance_irq_affinity(unsigned int irq, cpumask_t mask) | |||
170 | extern int no_irq_affinity; | 170 | extern int no_irq_affinity; |
171 | extern int noirqdebug_setup(char *str); | 171 | extern int noirqdebug_setup(char *str); |
172 | 172 | ||
173 | extern fastcall irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, | 173 | extern irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, |
174 | struct irqaction *action); | 174 | struct irqaction *action); |
175 | /* | ||
176 | * Explicit fastcall, because i386 4KSTACKS calls it from assembly: | ||
177 | */ | ||
175 | extern fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs); | 178 | extern fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs); |
179 | |||
176 | extern void note_interrupt(unsigned int irq, irq_desc_t *desc, | 180 | extern void note_interrupt(unsigned int irq, irq_desc_t *desc, |
177 | int action_ret, struct pt_regs *regs); | 181 | int action_ret, struct pt_regs *regs); |
178 | extern int can_request_irq(unsigned int irq, unsigned long irqflags); | 182 | extern int can_request_irq(unsigned int irq, unsigned long irqflags); |
179 | 183 | ||
180 | extern void init_irq_proc(void); | 184 | extern void init_irq_proc(void); |
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index cc786aaf30d6..6b313ccf0edd 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -79,8 +79,8 @@ irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs) | |||
79 | /* | 79 | /* |
80 | * Have got an event to handle: | 80 | * Have got an event to handle: |
81 | */ | 81 | */ |
82 | fastcall irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, | 82 | irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, |
83 | struct irqaction *action) | 83 | struct irqaction *action) |
84 | { | 84 | { |
85 | irqreturn_t ret, retval = IRQ_NONE; | 85 | irqreturn_t ret, retval = IRQ_NONE; |
86 | unsigned int status = 0; | 86 | unsigned int status = 0; |