Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11062
b: refs/heads/master
c: 6dd0468
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent c4aaa93 commit a49091b
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: ac5d8c022f91d790888cc8c627b8010d3c31a300
refs/heads/master: 6dd04688520d7abe4883b2a79fa720291d76b140
5 changes: 3 additions & 2 deletions trunk/arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,10 @@ static inline void simulate_ll(struct pt_regs *regs, unsigned int opcode)

preempt_enable();

compute_return_epc(regs);

regs->regs[(opcode & RT) >> 16] = value;

compute_return_epc(regs);
return;

sig:
Expand Down Expand Up @@ -459,9 +460,9 @@ static inline void simulate_sc(struct pt_regs *regs, unsigned int opcode)
goto sig;
}

compute_return_epc(regs);
regs->regs[reg] = 1;

compute_return_epc(regs);
return;

sig:
Expand Down

0 comments on commit a49091b

Please sign in to comment.