aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/string.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/lib/string.S')
-rw-r--r--arch/powerpc/lib/string.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/lib/string.S b/arch/powerpc/lib/string.S
index 1b5a0a09d609..c80fb49ce607 100644
--- a/arch/powerpc/lib/string.S
+++ b/arch/powerpc/lib/string.S
@@ -93,6 +93,7 @@ _GLOBAL(strlen)
93 subf r3,r3,r4 93 subf r3,r3,r4
94 blr 94 blr
95 95
96#ifdef CONFIG_PPC32
96_GLOBAL(memcmp) 97_GLOBAL(memcmp)
97 PPC_LCMPI 0,r5,0 98 PPC_LCMPI 0,r5,0
98 beq- 2f 99 beq- 2f
@@ -106,6 +107,7 @@ _GLOBAL(memcmp)
106 blr 107 blr
1072: li r3,0 1082: li r3,0
108 blr 109 blr
110#endif
109 111
110_GLOBAL(memchr) 112_GLOBAL(memchr)
111 PPC_LCMPI 0,r5,0 113 PPC_LCMPI 0,r5,0