Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74092
b: refs/heads/master
c: 4a589e1
h: refs/heads/master
v: v3
  • Loading branch information
Robin Getz authored and Bryan Wu committed Nov 12, 2007
1 parent 79b78a1 commit 1983c9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: f26fbc48f130962fce15f37d079968f0f272e0c2
refs/heads/master: 4a589e1ef67fdb2d5fa783117da8dc7cba576af4
5 changes: 3 additions & 2 deletions trunk/arch/blackfin/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static void decode_address(char *buf, unsigned long address)
}

/* we were unable to find this address anywhere */
sprintf(buf, "[<0x%p>]", (void *)address);
sprintf(buf, "<0x%p> /* unknown address */", (void *)address);

done:
write_unlock_irqrestore(&tasklist_lock, flags);
Expand Down Expand Up @@ -467,7 +467,8 @@ asmlinkage void trap_c(struct pt_regs *fp)
/* Ensure that bad return addresses don't end up in an infinite
* loop, due to speculative loads/reads
*/
fp->pc = SAFE_USER_INSTRUCTION;
if (trapnr == VEC_CPLB_I_M)
fp->pc = SAFE_USER_INSTRUCTION;
}
info.si_signo = sig;
info.si_errno = 0;
Expand Down

0 comments on commit 1983c9c

Please sign in to comment.