aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc')
-rw-r--r--include/asm-parisc/linkage.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/include/asm-parisc/linkage.h b/include/asm-parisc/linkage.h
index 9df3978f8a9b..7a09d911b538 100644
--- a/include/asm-parisc/linkage.h
+++ b/include/asm-parisc/linkage.h
@@ -7,12 +7,22 @@
7#endif 7#endif
8 8
9/* 9/*
10 * In parisc assembly a semicolon marks a comment. 10 * In parisc assembly a semicolon marks a comment while a
11 * Because of that we use an exclamation mark to seperate independend lines. 11 * exclamation mark is used to seperate independend lines.
12 */ 12 */
13#define ENTRY(name) \ 13#define ENTRY(name) \
14 .globl name !\ 14 .export name !\
15 ALIGN !\ 15 ALIGN !\
16name: 16name:
17 17
18#ifdef CONFIG_64BIT
19#define ENDPROC(name) \
20 END(name)
21#else
22#define ENDPROC(name) \
23 .type name, @function !\
24 END(name)
25#endif
26
27
18#endif /* __ASM_PARISC_LINKAGE_H */ 28#endif /* __ASM_PARISC_LINKAGE_H */