aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/traps.c
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-07-11 23:50:43 -0400
committerBryan Wu <bryan.wu@analog.com>2007-07-11 23:50:43 -0400
commit9401e618c8f70920f34893946239e24d40a3519a (patch)
treeb2b057cbf5acdd7c5a7b300977099ea297a24c83 /arch/blackfin/kernel/traps.c
parentc9e27ece79f6170fd1cd1a40c5de5d93456606e7 (diff)
Blackfin arch: scrub dead code
we converted to using a system call for userspace spinlocks rather than a dedicated exception long ago Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/traps.c')
-rw-r--r--arch/blackfin/kernel/traps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c
index 114277bb46f8..3909f5b35536 100644
--- a/arch/blackfin/kernel/traps.c
+++ b/arch/blackfin/kernel/traps.c
@@ -193,15 +193,14 @@ asmlinkage void trap_c(struct pt_regs *fp)
193#else 193#else
194 /* 0x02 - User Defined, Caught by default */ 194 /* 0x02 - User Defined, Caught by default */
195#endif 195#endif
196 /* 0x03 - Atomic test and set */ 196 /* 0x03 - User Defined, userspace stack overflow */
197 case VEC_EXCPT03: 197 case VEC_EXCPT03:
198 info.si_code = SEGV_STACKFLOW; 198 info.si_code = SEGV_STACKFLOW;
199 sig = SIGSEGV; 199 sig = SIGSEGV;
200 printk(KERN_EMERG EXC_0x03); 200 printk(KERN_EMERG EXC_0x03);
201 CHK_DEBUGGER_TRAP(); 201 CHK_DEBUGGER_TRAP();
202 break; 202 break;
203 /* 0x04 - spinlock - handled by _ex_spinlock, 203 /* 0x04 - User Defined, Caught by default */
204 getting here is an error */
205 /* 0x05 - User Defined, Caught by default */ 204 /* 0x05 - User Defined, Caught by default */
206 /* 0x06 - User Defined, Caught by default */ 205 /* 0x06 - User Defined, Caught by default */
207 /* 0x07 - User Defined, Caught by default */ 206 /* 0x07 - User Defined, Caught by default */