Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165940
b: refs/heads/master
c: ac854ff
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Sep 22, 2009
1 parent 0a2ee7b commit bdd86be
Show file tree
Hide file tree
Showing 2 changed files with 7 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: afc26cb39e1e74c87a1b5eb013ead2590b91489c
refs/heads/master: ac854ff1fc779101ff1989c3a20c1f238a2b5f3a
8 changes: 6 additions & 2 deletions trunk/arch/microblaze/kernel/hw_exception_handler.S
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@
#define NUM_TO_REG(num) r ## num

#ifdef CONFIG_MMU
/* FIXME you can't change first load of MSR because there is
* hardcoded jump bri 4 */
#define RESTORE_STATE \
lwi r5, r1, 0; \
mts rmsr, r5; \
nop; \
lwi r3, r1, PT_R3; \
lwi r4, r1, PT_R4; \
lwi r5, r1, PT_R5; \
Expand Down Expand Up @@ -309,6 +310,9 @@ _hw_exception_handler:
lwi r31, r0, TOPHYS(PER_CPU(CURRENT_SAVE)) /* get saved current */
#endif

mfs r5, rmsr;
nop
swi r5, r1, 0;
mfs r3, resr
nop
mfs r4, rear;
Expand Down

0 comments on commit bdd86be

Please sign in to comment.