diff options
author | Helge Deller <deller@gmx.de> | 2007-01-23 23:32:10 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@athena.road.mcmartin.ca> | 2007-02-17 01:15:51 -0500 |
commit | b288a8f79ac6028940ba60fb6cc61ed134632770 (patch) | |
tree | 9d48b23a5e7ed48b917300f89751afeeaf566da1 /include/asm-parisc/linkage.h | |
parent | 2f75c12c663fc4bf198459d3f932ce3896cb126f (diff) | |
download | blackbird-op-linux-b288a8f79ac6028940ba60fb6cc61ed134632770.tar.gz blackbird-op-linux-b288a8f79ac6028940ba60fb6cc61ed134632770.zip |
[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/linkage.h')
-rw-r--r-- | include/asm-parisc/linkage.h | 16 |
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 @@ #endif /* - * In parisc assembly a semicolon marks a comment. - * Because of that we use an exclamation mark to seperate independend lines. + * In parisc assembly a semicolon marks a comment while a + * exclamation mark is used to seperate independend lines. */ #define ENTRY(name) \ - .globl name !\ + .export name !\ ALIGN !\ name: +#ifdef CONFIG_64BIT +#define ENDPROC(name) \ + END(name) +#else +#define ENDPROC(name) \ + .type name, @function !\ + END(name) +#endif + + #endif /* __ASM_PARISC_LINKAGE_H */ |