diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-02-07 13:47:43 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-03-26 14:31:28 +0530 |
commit | ec7ac6afd07b2d958aab9dfc0a686300b856922a (patch) | |
tree | a4705a35138437a44c8dc99939e36cfda4d34473 /arch/arc/lib/memcmp.S | |
parent | d6579e99bc448a351279cea7469ab64a00d25ff8 (diff) | |
download | op-kernel-dev-ec7ac6afd07b2d958aab9dfc0a686300b856922a.zip op-kernel-dev-ec7ac6afd07b2d958aab9dfc0a686300b856922a.tar.gz |
ARC: switch to generic ENTRY/END assembler annotations
With commit 9df62f054406 "arch: use ASM_NL instead of ';'" the generic
macros can handle the arch specific newline quirk. Hence we can get rid
of ARC asm macros and use the "C" style macros.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/lib/memcmp.S')
-rw-r--r-- | arch/arc/lib/memcmp.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/lib/memcmp.S b/arch/arc/lib/memcmp.S index bc813d5..978bf83 100644 --- a/arch/arc/lib/memcmp.S +++ b/arch/arc/lib/memcmp.S @@ -6,7 +6,7 @@ * published by the Free Software Foundation. */ -#include <asm/linkage.h> +#include <linux/linkage.h> #ifdef __LITTLE_ENDIAN__ #define WORD2 r2 @@ -16,7 +16,7 @@ #define SHIFT r2 #endif -ARC_ENTRY memcmp +ENTRY(memcmp) or r12,r0,r1 asl_s r12,r12,30 sub r3,r2,1 @@ -121,4 +121,4 @@ ARC_ENTRY memcmp .Lnil: j_s.d [blink] mov r0,0 -ARC_EXIT memcmp +END(memcmp) |