aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/linkage.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2007-01-23 14:50:59 -0500
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-17 01:14:37 -0500
commitc5e7655297b5de47a279abcdcd1065690aa25c56 (patch)
treed610b66804db4d7d1daa60d52d8aa4b776d7eefb /include/asm-parisc/linkage.h
parent430a502abec76fd2fd9fd1df7506ccf911a6d6d2 (diff)
[PARISC] implement standard ENTRY(), END() and ENDPROC()
Use the macros in entry.S Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc/linkage.h')
-rw-r--r--include/asm-parisc/linkage.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/include/asm-parisc/linkage.h b/include/asm-parisc/linkage.h
index 291c2d01c44f..9df3978f8a9b 100644
--- a/include/asm-parisc/linkage.h
+++ b/include/asm-parisc/linkage.h
@@ -1,6 +1,18 @@
1#ifndef __ASM_LINKAGE_H 1#ifndef __ASM_PARISC_LINKAGE_H
2#define __ASM_LINKAGE_H 2#define __ASM_PARISC_LINKAGE_H
3
4/* Nothing to see here... */
5 3
4#ifndef __ALIGN
5#define __ALIGN .align 4
6#define __ALIGN_STR ".align 4"
6#endif 7#endif
8
9/*
10 * In parisc assembly a semicolon marks a comment.
11 * Because of that we use an exclamation mark to seperate independend lines.
12 */
13#define ENTRY(name) \
14 .globl name !\
15 ALIGN !\
16name:
17
18#endif /* __ASM_PARISC_LINKAGE_H */