Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207156
b: refs/heads/master
c: a90993c
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Nilsson committed Aug 4, 2010
1 parent df23887 commit b23ee90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 7c8a25b544c1659ad57de2394006fdd449325161
refs/heads/master: a90993c693ab7bd72bcb28b105e8dd4f0698f836
5 changes: 4 additions & 1 deletion trunk/arch/cris/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,11 @@ int
find_fixup_code(struct pt_regs *regs)
{
const struct exception_table_entry *fixup;
/* in case of delay slot fault (v32) */
unsigned long ip = (instruction_pointer(regs) & ~0x1);

if ((fixup = search_exception_tables(instruction_pointer(regs))) != 0) {
fixup = search_exception_tables(ip);
if (fixup != 0) {
/* Adjust the instruction pointer in the stackframe. */
instruction_pointer(regs) = fixup->fixup;
arch_fixup(regs);
Expand Down

0 comments on commit b23ee90

Please sign in to comment.