Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / c6x / include / asm / linkage.h
blob376925c47d57ae4bfa28555b269dc00dd605d4e6
1 #ifndef _ASM_C6X_LINKAGE_H
2 #define _ASM_C6X_LINKAGE_H
4 #ifdef __ASSEMBLER__
6 #define __ALIGN .align 2
7 #define __ALIGN_STR ".align 2"
9 #ifndef __DSBT__
10 #define ENTRY(name) \
11 .global name @ \
12 __ALIGN @ \
13 name:
14 #else
15 #define ENTRY(name) \
16 .global name @ \
17 .hidden name @ \
18 __ALIGN @ \
19 name:
20 #endif
22 #define ENDPROC(name) \
23 .type name, @function @ \
24 .size name, . - name
26 #endif
28 #include <asm-generic/linkage.h>
30 #endif /* _ASM_C6X_LINKAGE_H */