remove libdss from Makefile
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / arch / parisc / include / asm / linkage.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
c5e76552
HD
2#ifndef __ASM_PARISC_LINKAGE_H
3#define __ASM_PARISC_LINKAGE_H
1da177e4 4
f39cce65
HD
5#include <asm/dwarf.h>
6
c5e76552
HD
7#ifndef __ALIGN
8#define __ALIGN .align 4
9#define __ALIGN_STR ".align 4"
1da177e4 10#endif
c5e76552
HD
11
12/*
b288a8f7 13 * In parisc assembly a semicolon marks a comment while a
9636cb0f 14 * exclamation mark is used to separate independent lines.
c5e76552 15 */
f39cce65
HD
16#define ASM_NL !
17
c2b6ebd5
HD
18#ifdef __ASSEMBLY__
19
c5e76552 20#define ENTRY(name) \
b288a8f7 21 .export name !\
c5e76552
HD
22 ALIGN !\
23name:
24
b288a8f7
HD
25#ifdef CONFIG_64BIT
26#define ENDPROC(name) \
27 END(name)
28#else
29#define ENDPROC(name) \
30 .type name, @function !\
31 END(name)
32#endif
33
f39cce65
HD
34#define ENTRY_CFI(name) \
35 ENTRY(name) ASM_NL\
36 CFI_STARTPROC
37
38#define ENDPROC_CFI(name) \
39 ENDPROC(name) ASM_NL\
40 CFI_ENDPROC
41
c2b6ebd5 42#endif /* __ASSEMBLY__ */
b288a8f7 43
c5e76552 44#endif /* __ASM_PARISC_LINKAGE_H */