Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331452
b: refs/heads/master
c: 9183671
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Oct 4, 2012
1 parent e68026e commit 2b7db6b
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: 6e80cff5430efb9dc8c12cb066e12c62d0a2d9d2
refs/heads/master: 91836710c73497bdbd4eef966c560d178910400a
5 changes: 3 additions & 2 deletions trunk/arch/microblaze/kernel/hw_exception_handler.S
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
#include <asm/mmu.h>
#include <asm/pgtable.h>
#include <asm/signal.h>
#include <asm/registers.h>
#include <asm/asm-offsets.h>

#undef DEBUG
Expand Down Expand Up @@ -581,7 +582,7 @@ ex_handler_done:
* tried to access a kernel or read-protected page - always
* a SEGV). All other faults here must be stores, so no
* need to check ESR_S as well. */
andi r4, r4, 0x800 /* ESR_Z - zone protection */
andi r4, r4, ESR_DIZ /* ESR_Z - zone protection */
bnei r4, ex2

ori r4, r0, swapper_pg_dir
Expand All @@ -595,7 +596,7 @@ ex_handler_done:
* tried to access a kernel or read-protected page - always
* a SEGV). All other faults here must be stores, so no
* need to check ESR_S as well. */
andi r4, r4, 0x800 /* ESR_Z */
andi r4, r4, ESR_DIZ /* ESR_Z */
bnei r4, ex2
/* get current task address */
addi r4 ,CURRENT_TASK, TOPHYS(0);
Expand Down

0 comments on commit 2b7db6b

Please sign in to comment.