diff options
author | Helge Deller <deller@gmx.de> | 2007-01-23 19:50:59 (GMT) |
---|---|---|
committer | Kyle McMartin <kyle@athena.road.mcmartin.ca> | 2007-02-17 06:14:37 (GMT) |
commit | c5e7655297b5de47a279abcdcd1065690aa25c56 (patch) | |
tree | d610b66804db4d7d1daa60d52d8aa4b776d7eefb /include/asm-parisc | |
parent | 430a502abec76fd2fd9fd1df7506ccf911a6d6d2 (diff) | |
download | linux-c5e7655297b5de47a279abcdcd1065690aa25c56.tar.xz |
[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')
-rw-r--r-- | include/asm-parisc/linkage.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/include/asm-parisc/linkage.h b/include/asm-parisc/linkage.h index 291c2d0..9df3978 100644 --- a/include/asm-parisc/linkage.h +++ b/include/asm-parisc/linkage.h @@ -1,6 +1,18 @@ -#ifndef __ASM_LINKAGE_H -#define __ASM_LINKAGE_H - -/* Nothing to see here... */ +#ifndef __ASM_PARISC_LINKAGE_H +#define __ASM_PARISC_LINKAGE_H +#ifndef __ALIGN +#define __ALIGN .align 4 +#define __ALIGN_STR ".align 4" #endif + +/* + * In parisc assembly a semicolon marks a comment. + * Because of that we use an exclamation mark to seperate independend lines. + */ +#define ENTRY(name) \ + .globl name !\ + ALIGN !\ +name: + +#endif /* __ASM_PARISC_LINKAGE_H */ |