treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / c6x / include / asm / linkage.h
blob1ad615da647960ea7bbf90d030ea721038926fa6
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_C6X_LINKAGE_H
3 #define _ASM_C6X_LINKAGE_H
5 #ifdef __ASSEMBLER__
7 #define __ALIGN .align 2
8 #define __ALIGN_STR ".align 2"
10 #ifndef __DSBT__
11 #define ENTRY(name) \
12 .global name @ \
13 __ALIGN @ \
14 name:
15 #else
16 #define ENTRY(name) \
17 .global name @ \
18 .hidden name @ \
19 __ALIGN @ \
20 name:
21 #endif
23 #define ENDPROC(name) \
24 .type name, @function @ \
25 .size name, . - name
27 #endif
29 #include <asm-generic/linkage.h>
31 #endif /* _ASM_C6X_LINKAGE_H */