summaryrefslogtreecommitdiff
path: root/arch/arc/lib/strcmp.S
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-02-07 13:47:43 +0530
committerVineet Gupta <vgupta@synopsys.com>2014-03-26 14:31:28 +0530
commitec7ac6afd07b2d958aab9dfc0a686300b856922a (patch)
treea4705a35138437a44c8dc99939e36cfda4d34473 /arch/arc/lib/strcmp.S
parentd6579e99bc448a351279cea7469ab64a00d25ff8 (diff)
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/strcmp.S')
-rw-r--r--arch/arc/lib/strcmp.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/lib/strcmp.S b/arch/arc/lib/strcmp.S
index 5dc802b45cf3..3544600fefe6 100644
--- a/arch/arc/lib/strcmp.S
+++ b/arch/arc/lib/strcmp.S
@@ -13,9 +13,9 @@
source 1; however, that would increase the overhead for loop setup / finish,
and strcmp might often terminate early. */
-#include <asm/linkage.h>
+#include <linux/linkage.h>
-ARC_ENTRY strcmp
+ENTRY(strcmp)
or r2,r0,r1
bmsk_s r2,r2,1
brne r2,0,.Lcharloop
@@ -93,4 +93,4 @@ ARC_ENTRY strcmp
.Lcmpend:
j_s.d [blink]
sub r0,r2,r3
-ARC_EXIT strcmp
+END(strcmp)