diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-07-12 05:50:43 +0200 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 05:50:43 +0200 |
commit | 9401e618c8f70920f34893946239e24d40a3519a (patch) | |
tree | b2b057cbf5acdd7c5a7b300977099ea297a24c83 /arch/blackfin/kernel/traps.c | |
parent | Blackfin arch: Fix Warning add some defines in BF54x header file (diff) | |
download | linux-9401e618c8f70920f34893946239e24d40a3519a.tar.xz linux-9401e618c8f70920f34893946239e24d40a3519a.zip |
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.c | 5 |
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) #else /* 0x02 - User Defined, Caught by default */ #endif - /* 0x03 - Atomic test and set */ + /* 0x03 - User Defined, userspace stack overflow */ case VEC_EXCPT03: info.si_code = SEGV_STACKFLOW; sig = SIGSEGV; printk(KERN_EMERG EXC_0x03); CHK_DEBUGGER_TRAP(); break; - /* 0x04 - spinlock - handled by _ex_spinlock, - getting here is an error */ + /* 0x04 - User Defined, Caught by default */ /* 0x05 - User Defined, Caught by default */ /* 0x06 - User Defined, Caught by default */ /* 0x07 - User Defined, Caught by default */ |