Skip to content

Commit

Permalink
microblaze: Remove additional andi which has been already done
Browse files Browse the repository at this point in the history
Remove one additional step.

Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek committed Oct 4, 2012
1 parent 9183671 commit 1f26076
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/microblaze/kernel/hw_exception_handler.S
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ ex_handler_done:
tophys(r5,r5)
BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */
andi r6, r6, PAGE_SIZE - 4
andi r5, r5, PAGE_MASK + 0x3
or r5, r5, r6
lwi r4, r5, 0 /* Get Linux PTE */

Expand Down Expand Up @@ -717,7 +716,6 @@ ex_handler_done:
tophys(r5,r5)
BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */
andi r6, r6, PAGE_SIZE - 4
andi r5, r5, PAGE_MASK + 0x3
or r5, r5, r6
lwi r4, r5, 0 /* Get Linux PTE */

Expand Down Expand Up @@ -789,7 +787,6 @@ ex_handler_done:
tophys(r5,r5)
BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */
andi r6, r6, PAGE_SIZE - 4
andi r5, r5, PAGE_MASK + 0x3
or r5, r5, r6
lwi r4, r5, 0 /* Get Linux PTE */

Expand Down

0 comments on commit 1f26076

Please sign in to comment.