aboutsummaryrefslogtreecommitdiff
path: root/tests/migration/aarch64/a-b-kernel.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/migration/aarch64/a-b-kernel.S')
-rw-r--r--tests/migration/aarch64/a-b-kernel.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/migration/aarch64/a-b-kernel.S b/tests/migration/aarch64/a-b-kernel.S
index 0225945348..a4103ecb71 100644
--- a/tests/migration/aarch64/a-b-kernel.S
+++ b/tests/migration/aarch64/a-b-kernel.S
@@ -53,7 +53,6 @@ innerloop:
/* increment the first byte of each page by 1 */
ldrb w3, [x4]
add w3, w3, #1
- and w3, w3, #0xff
strb w3, [x4]
/* make sure QEMU user space can see consistent data as MMU is off */
@@ -64,7 +63,7 @@ innerloop:
blt innerloop
add w5, w5, #1
- and w5, w5, #0xff
+ and w5, w5, #0x1f
cmp w5, #0
bne mainloop