aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/lib/memcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/lib/memcmp.S')
-rw-r--r--arch/arc/lib/memcmp.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/lib/memcmp.S b/arch/arc/lib/memcmp.S
index bc813d55b6c3..978bf8314dfb 100644
--- a/arch/arc/lib/memcmp.S
+++ b/arch/arc/lib/memcmp.S
@@ -6,7 +6,7 @@
6 * published by the Free Software Foundation. 6 * published by the Free Software Foundation.
7 */ 7 */
8 8
9#include <asm/linkage.h> 9#include <linux/linkage.h>
10 10
11#ifdef __LITTLE_ENDIAN__ 11#ifdef __LITTLE_ENDIAN__
12#define WORD2 r2 12#define WORD2 r2
@@ -16,7 +16,7 @@
16#define SHIFT r2 16#define SHIFT r2
17#endif 17#endif
18 18
19ARC_ENTRY memcmp 19ENTRY(memcmp)
20 or r12,r0,r1 20 or r12,r0,r1
21 asl_s r12,r12,30 21 asl_s r12,r12,30
22 sub r3,r2,1 22 sub r3,r2,1
@@ -121,4 +121,4 @@ ARC_ENTRY memcmp
121.Lnil: 121.Lnil:
122 j_s.d [blink] 122 j_s.d [blink]
123 mov r0,0 123 mov r0,0
124ARC_EXIT memcmp 124END(memcmp)