mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 03:40:55 +07:00
9636cb0ff6
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Adrian Bunk <bunk@kernel.org>
32 lines
550 B
C
32 lines
550 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 separate independent lines.
|
|
*/
|
|
#ifdef __ASSEMBLY__
|
|
|
|
#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 /* __ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_PARISC_LINKAGE_H */
|