Commit 03a3cda8 authored by Russell King's avatar Russell King

[ARM] Fix __do_softirq breakage.

parent eae6183a
......@@ -22,15 +22,6 @@
#error "Please fix"
#endif
/*
* Our do_softirq out of line code. See include/asm-arm/hardirq.h for
* the calling assembly.
*/
ENTRY(__do_softirq)
stmfd sp!, {r0 - r3, ip, lr}
bl do_softirq
ldmfd sp!, {r0 - r3, ip, pc}
.align 5
/*
* This is the fast syscall return path. We do as little as
......
......@@ -78,14 +78,14 @@ typedef struct {
#endif
#ifndef CONFIG_SMP
/*
* Some compilers get the use of "%?" wrong in the asm below.
*/
extern asmlinkage void __do_softirq(void);
#define irq_exit() \
do { \
preempt_count() -= IRQ_EXIT_OFFSET; \
if (!in_interrupt() && softirq_pending(smp_processor_id())) \
__asm__("bl __do_softirq": : : "lr", "cc");/* out of line */\
if (!in_interrupt() && local_softirq_pending()) \
__do_softirq(); \
preempt_enable_no_resched(); \
} while (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