Skip to content

Commit 4aeb9b4

Browse files
MingcongBaiKexyBiscuit
authored andcommitted
AOSCOS: MIPS: loongson3-memcpy: 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: memcpy optimization for loongson-3" Signed-off-by: Mingcong Bai <[email protected]> Signed-off-by: Kexy Biscuit <[email protected]>
1 parent d2b7d86 commit 4aeb9b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/mips/loongson64/loongson3-memcpy.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
#define EXC(inst_reg,addr,handler) \
3838
9: inst_reg, addr; \
3939
.section __ex_table,"a"; \
40-
PTR 9b, handler; \
40+
PTR_WD 9b, handler; \
4141
.previous
4242

4343
#define EXCQ(inst,reg1,reg2,addr,handler) \
4444
9: inst reg1, reg2, addr; \
4545
.section __ex_table,"a"; \
46-
PTR 9b, handler; \
46+
PTR_WD 9b, handler; \
4747
.previous
4848

4949
#endif

0 commit comments

Comments
 (0)