Commit 2e60bbb6 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds

[PATCH] genirq: cleanup: remove fastcall

Now that i386 defaults to regparm, explicit uses of fastcall are not needed
anymore.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a8553acd
...@@ -170,11 +170,15 @@ static inline void set_balance_irq_affinity(unsigned int irq, cpumask_t mask) ...@@ -170,11 +170,15 @@ static inline void set_balance_irq_affinity(unsigned int irq, cpumask_t mask)
extern int no_irq_affinity; extern int no_irq_affinity;
extern int noirqdebug_setup(char *str); extern int noirqdebug_setup(char *str);
extern fastcall irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, extern irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs,
struct irqaction *action); 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 fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs);
extern void note_interrupt(unsigned int irq, irq_desc_t *desc, 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 int can_request_irq(unsigned int irq, unsigned long irqflags);
extern void init_irq_proc(void); extern void init_irq_proc(void);
......
...@@ -79,8 +79,8 @@ irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs) ...@@ -79,8 +79,8 @@ irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs)
/* /*
* Have got an event to handle: * Have got an event to handle:
*/ */
fastcall 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)
{ {
irqreturn_t ret, retval = IRQ_NONE; irqreturn_t ret, retval = IRQ_NONE;
unsigned int status = 0; unsigned int status = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment