diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-02-07 03:17:43 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-03-26 05:01:28 -0400 |
commit | ec7ac6afd07b2d958aab9dfc0a686300b856922a (patch) | |
tree | a4705a35138437a44c8dc99939e36cfda4d34473 /arch/arc/include | |
parent | d6579e99bc448a351279cea7469ab64a00d25ff8 (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/include')
-rw-r--r-- | arch/arc/include/asm/linkage.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arc/include/asm/linkage.h b/arch/arc/include/asm/linkage.h index 66ee5527aefc..5faad17118b4 100644 --- a/arch/arc/include/asm/linkage.h +++ b/arch/arc/include/asm/linkage.h | |||
@@ -13,20 +13,6 @@ | |||
13 | 13 | ||
14 | #define ASM_NL ` /* use '`' to mark new line in macro */ | 14 | #define ASM_NL ` /* use '`' to mark new line in macro */ |
15 | 15 | ||
16 | /* Can't use the ENTRY macro in linux/linkage.h | ||
17 | * gas considers ';' as comment vs. newline | ||
18 | */ | ||
19 | .macro ARC_ENTRY name | ||
20 | .global \name | ||
21 | .align 4 | ||
22 | \name: | ||
23 | .endm | ||
24 | |||
25 | .macro ARC_EXIT name | ||
26 | #define ASM_PREV_SYM_ADDR(name) .-##name | ||
27 | .size \ name, ASM_PREV_SYM_ADDR(\name) | ||
28 | .endm | ||
29 | |||
30 | /* annotation for data we want in DCCM - if enabled in .config */ | 16 | /* annotation for data we want in DCCM - if enabled in .config */ |
31 | .macro ARCFP_DATA nm | 17 | .macro ARCFP_DATA nm |
32 | #ifdef CONFIG_ARC_HAS_DCCM | 18 | #ifdef CONFIG_ARC_HAS_DCCM |