mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
[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>
This commit is contained in:
parent
2f75c12c66
commit
b288a8f79a
1 changed files with 13 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue