diff options
Diffstat (limited to 'arch/powerpc/lib/string.S')
-rw-r--r-- | arch/powerpc/lib/string.S | 2 |
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 |
107 | 2: li r3,0 | 108 | 2: 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 |