Commit b288a8f7 authored by Helge Deller's avatar Helge Deller Committed by Kyle McMartin

[PARISC] fix ENTRY() and ENDPROC() for 64bit-parisc

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent 2f75c12c
...@@ -7,12 +7,22 @@ ...@@ -7,12 +7,22 @@
#endif #endif
/* /*
* In parisc assembly a semicolon marks a comment. * In parisc assembly a semicolon marks a comment while a
* Because of that we use an exclamation mark to seperate independend lines. * exclamation mark is used to seperate independend lines.
*/ */
#define ENTRY(name) \ #define ENTRY(name) \
.globl name !\ .export name !\
ALIGN !\ ALIGN !\
name: name:
#ifdef CONFIG_64BIT
#define ENDPROC(name) \
END(name)
#else
#define ENDPROC(name) \
.type name, @function !\
END(name)
#endif
#endif /* __ASM_PARISC_LINKAGE_H */ #endif /* __ASM_PARISC_LINKAGE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment