genirq: cleanup: remove fastcall
PATCH 3/50 genirq: cleanup: remove fastcall
From: Ingo Molnar <[email protected]>
now that i386 defaults to regparm, explicit uses of fastcall are not needed anymore.
Signed-off-by Ingo Molnar <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
--- include/linux/irq.h | 11 ++++++++--- kernel/irq/handle.c | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-)
include/linux/irq.h +8 -3
@@ -162,11 +162,16 @@ static inline void set_irq_info(int irq,extern int no_irq_affinity;extern int noirqdebug_setup (char *str); -extern fastcall int handle_IRQ_event(unsigned int irq, struct pt_regs *regs, -struct irqaction *action); +extern int handle_IRQ_event (unsigned int irq,struct pt_regs *regs, +struct irqaction *action); + +/* +* Explicit fastcall, because i386 4KSTACKS calls it from assembly: +*/ extern fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs); +extern void note_interrupt (unsigned int irq,irq_desc_t *desc, -int action_ret,struct pt_regs *regs); +int action_ret,struct pt_regs *regs);extern int can_request_irq (unsigned int irq,unsigned long irqflags);extern void init_irq_proc (void );
kernel/irq/handle.c +2 -2
@@ -79,8 +79,8 @@ irqreturn_t no_action(int cpl, void *dev/* * Have got an event to handle: */ -fastcall int handle_IRQ_event(unsigned int irq, struct pt_regs *regs, -struct irqaction *action) +int handle_IRQ_event (unsigned int irq,struct pt_regs *regs, +struct irqaction *action) {int ret, retval =0 , status =0 ;