Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113759
b: refs/heads/master
c: 27707d3
h: refs/heads/master
i:
  113757: 1ff0d1c
  113755: ffbd756
  113751: 17cacfe
  113743: a44abd1
  113727: f35b0bc
v: v3
  • Loading branch information
Sonic Zhang authored and Bryan Wu committed Oct 9, 2008
1 parent 2a00f9f commit 7165376
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e9e7687cbc016ac36b6825f79d78213319331d9
refs/heads/master: 27707d3e43e3a9c53e75cd7769f3ef74b1d56625
21 changes: 9 additions & 12 deletions trunk/arch/blackfin/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,22 +284,21 @@ asmlinkage void trap_c(struct pt_regs *fp)
return;
else
break;
#ifdef CONFIG_KGDB
case VEC_EXCPT02 : /* gdb connection */
info.si_code = TRAP_ILLTRAP;
sig = SIGTRAP;
CHK_DEBUGGER_TRAP();
return;
#else
/* 0x02 - User Defined, Caught by default */
#endif
/* 0x03 - User Defined, userspace stack overflow */
case VEC_EXCPT03:
info.si_code = SEGV_STACKFLOW;
sig = SIGSEGV;
printk(KERN_NOTICE EXC_0x03(KERN_NOTICE));
CHK_DEBUGGER_TRAP_MAYBE();
break;
/* 0x02 - KGDB initial connection and break signal trap */
case VEC_EXCPT02:
#ifdef CONFIG_KGDB
info.si_code = TRAP_ILLTRAP;
sig = SIGTRAP;
CHK_DEBUGGER_TRAP();
return;
#endif
/* 0x04 - User Defined */
/* 0x05 - User Defined */
/* 0x06 - User Defined */
Expand All @@ -312,11 +311,9 @@ asmlinkage void trap_c(struct pt_regs *fp)
/* 0x0D - User Defined */
/* 0x0E - User Defined */
/* 0x0F - User Defined */
/*
* If we got here, it is most likely that someone was trying to use a
/* If we got here, it is most likely that someone was trying to use a
* custom exception handler, and it is not actually installed properly
*/
case VEC_EXCPT02:
case VEC_EXCPT04 ... VEC_EXCPT15:
info.si_code = ILL_ILLPARAOP;
sig = SIGILL;
Expand Down

0 comments on commit 7165376

Please sign in to comment.