aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2007-01-23 17:32:10 -0500
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-17 01:15:51 -0500
commitb288a8f79ac6028940ba60fb6cc61ed134632770 (patch)
tree9d48b23a5e7ed48b917300f89751afeeaf566da1 /include/asm-parisc
parent2f75c12c663fc4bf198459d3f932ce3896cb126f (diff)
[PARISC] fix ENTRY() and ENDPROC() for 64bit-parisc
Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
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 */