Skip to content

Commit 1631d36

Browse files
MingcongBaiKexyBiscuit
authored andcommitted
AOSCOS: MIPS: loongson3-memset: use PTR_WD to fix build
Per commit fa62f39 ("MIPS: Fix build error due to PTR used in more places"), `PTR' was renamed to `PTR_WD' to avoid definition conflicts. Follow this commit to fix build. Fixes: "AOSCOS: memset optimization for loongson-3" Signed-off-by: Mingcong Bai <[email protected]> Signed-off-by: Kexy Biscuit <[email protected]>
1 parent dea4a38 commit 1631d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/mips/loongson64/loongson3-memset.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define EX(insn,reg,addr,handler) \
2323
9: insn reg, addr; \
2424
.section __ex_table,"a"; \
25-
PTR 9b, handler; \
25+
PTR_WD 9b, handler; \
2626
.previous
2727

2828
#define EX_GSSQ(reg, addr, handler) \
@@ -31,7 +31,7 @@
3131
9: gssq reg, reg, addr; \
3232
.set pop; \
3333
.section __ex_table,"a"; \
34-
PTR 9b, handler; \
34+
PTR_WD 9b, handler; \
3535
.previous
3636

3737
.macro f_fill128 dst, offset, val, fixup

0 commit comments

Comments
 (0)