mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 07:46:43 +07:00
b288a8f79a
Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
29 lines
503 B
C
29 lines
503 B
C
#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 while a
|
|
* exclamation mark is used to seperate independend lines.
|
|
*/
|
|
#define ENTRY(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 */
|