summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/compressed/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boot/compressed/head.S')
-rw-r--r--arch/mips/boot/compressed/head.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/boot/compressed/head.S b/arch/mips/boot/compressed/head.S
index 5795d0af1e..d237a834b8 100644
--- a/arch/mips/boot/compressed/head.S
+++ b/arch/mips/boot/compressed/head.S
@@ -25,8 +25,8 @@
/* Clear BSS */
PTR_LA a0, _edata
PTR_LA a2, _end
-1: sw zero, 0(a0)
- addiu a0, a0, 4
+1: PTR_S zero, 0(a0)
+ PTR_ADDIU a0, a0, PTRSIZE
bne a2, a0, 1b
PTR_LA a0, (.heap) /* heap address */