summaryrefslogtreecommitdiffstats
path: root/arch/arc/include
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/include
parentd6579e99bc448a351279cea7469ab64a00d25ff8 (diff)
downloadop-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/include')
-rw-r--r--arch/arc/include/asm/linkage.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arc/include/asm/linkage.h b/arch/arc/include/asm/linkage.h
index 66ee552..5faad17 100644
--- a/arch/arc/include/asm/linkage.h
+++ b/arch/arc/include/asm/linkage.h
@@ -13,20 +13,6 @@
#define ASM_NL ` /* use '`' to mark new line in macro */
-/* Can't use the ENTRY macro in linux/linkage.h
- * gas considers ';' as comment vs. newline
- */
-.macro ARC_ENTRY name
- .global \name
- .align 4
- \name:
-.endm
-
-.macro ARC_EXIT name
-#define ASM_PREV_SYM_ADDR(name) .-##name
- .size \ name, ASM_PREV_SYM_ADDR(\name)
-.endm
-
/* annotation for data we want in DCCM - if enabled in .config */
.macro ARCFP_DATA nm
#ifdef CONFIG_ARC_HAS_DCCM
OpenPOWER on IntegriCloud