Commit 1f260760 authored by Michal Simek's avatar Michal Simek

microblaze: Remove additional andi which has been already done

Remove one additional step.
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 91836710
...@@ -615,7 +615,6 @@ ex_handler_done: ...@@ -615,7 +615,6 @@ ex_handler_done:
tophys(r5,r5) tophys(r5,r5)
BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */ BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */
andi r6, r6, PAGE_SIZE - 4 andi r6, r6, PAGE_SIZE - 4
andi r5, r5, PAGE_MASK + 0x3
or r5, r5, r6 or r5, r5, r6
lwi r4, r5, 0 /* Get Linux PTE */ lwi r4, r5, 0 /* Get Linux PTE */
...@@ -717,7 +716,6 @@ ex_handler_done: ...@@ -717,7 +716,6 @@ ex_handler_done:
tophys(r5,r5) tophys(r5,r5)
BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */ BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */
andi r6, r6, PAGE_SIZE - 4 andi r6, r6, PAGE_SIZE - 4
andi r5, r5, PAGE_MASK + 0x3
or r5, r5, r6 or r5, r5, r6
lwi r4, r5, 0 /* Get Linux PTE */ lwi r4, r5, 0 /* Get Linux PTE */
...@@ -789,7 +787,6 @@ ex_handler_done: ...@@ -789,7 +787,6 @@ ex_handler_done:
tophys(r5,r5) tophys(r5,r5)
BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */ BSRLI(r6,r3,PTE_SHIFT) /* Compute PTE address */
andi r6, r6, PAGE_SIZE - 4 andi r6, r6, PAGE_SIZE - 4
andi r5, r5, PAGE_MASK + 0x3
or r5, r5, r6 or r5, r5, r6
lwi r4, r5, 0 /* Get Linux PTE */ lwi r4, r5, 0 /* Get Linux PTE */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment