Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217123
b: refs/heads/master
c: 0425609
h: refs/heads/master
i:
  217121: 6f3326a
  217119: da2c86d
v: v3
  • Loading branch information
Michal Simek committed Oct 21, 2010
1 parent 0296af0 commit 21a31ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 95d3a8cd1596b7d34b873d1fa5a70bbc656f5410
refs/heads/master: 0425609680927f3368b0e0270452d41759d43b3f
9 changes: 1 addition & 8 deletions trunk/arch/microblaze/kernel/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
int fsr, int addr)
{
#ifdef CONFIG_MMU
int code;
addr = regs->pc;
#endif

Expand Down Expand Up @@ -144,13 +143,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
#ifdef CONFIG_MMU
case MICROBLAZE_PRIVILEGED_EXCEPTION:
pr_debug("Privileged exception\n");
/* "brk r0,r0" - used as debug breakpoint - old toolchain */
if (get_user(code, (unsigned long *)regs->pc) == 0
&& code == 0x980c0000) {
_exception(SIGTRAP, regs, TRAP_BRKPT, addr);
} else {
_exception(SIGILL, regs, ILL_PRVOPC, addr);
}
_exception(SIGILL, regs, ILL_PRVOPC, addr);
break;
#endif
default:
Expand Down

0 comments on commit 21a31ba

Please sign in to comment.