diff options
Diffstat (limited to 'arch/mips/kernel/entry.S')
-rw-r--r-- | arch/mips/kernel/entry.S | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S index 83c87fe4ee4f..371571f4f280 100644 --- a/arch/mips/kernel/entry.S +++ b/arch/mips/kernel/entry.S | |||
@@ -119,29 +119,3 @@ syscall_exit_work: | |||
119 | li a1, 1 | 119 | li a1, 1 |
120 | jal do_syscall_trace | 120 | jal do_syscall_trace |
121 | b resume_userspace | 121 | b resume_userspace |
122 | |||
123 | /* | ||
124 | * Common spurious interrupt handler. | ||
125 | */ | ||
126 | LEAF(spurious_interrupt) | ||
127 | /* | ||
128 | * Someone tried to fool us by sending an interrupt but we | ||
129 | * couldn't find a cause for it. | ||
130 | */ | ||
131 | PTR_LA t1, irq_err_count | ||
132 | #ifdef CONFIG_SMP | ||
133 | 1: ll t0, (t1) | ||
134 | addiu t0, 1 | ||
135 | sc t0, (t1) | ||
136 | #if R10000_LLSC_WAR | ||
137 | beqzl t0, 1b | ||
138 | #else | ||
139 | beqz t0, 1b | ||
140 | #endif | ||
141 | #else | ||
142 | lw t0, (t1) | ||
143 | addiu t0, 1 | ||
144 | sw t0, (t1) | ||
145 | #endif | ||
146 | j ret_from_irq | ||
147 | END(spurious_interrupt) | ||