[PARISC] fix "ENTRY" macro redefinition
[wrt350n-kernel.git] / include / asm-parisc / linkage.h
blobcdb470921ace299823c52470f5aa38acb05d5563
1 #ifndef __ASM_PARISC_LINKAGE_H
2 #define __ASM_PARISC_LINKAGE_H
4 #ifndef __ALIGN
5 #define __ALIGN .align 4
6 #define __ALIGN_STR ".align 4"
7 #endif
9 /*
10 * In parisc assembly a semicolon marks a comment while a
11 * exclamation mark is used to seperate independend lines.
13 #ifdef __ASSEMBLY__
15 #define ENTRY(name) \
16 .export name !\
17 ALIGN !\
18 name:
20 #ifdef CONFIG_64BIT
21 #define ENDPROC(name) \
22 END(name)
23 #else
24 #define ENDPROC(name) \
25 .type name, @function !\
26 END(name)
27 #endif
29 #endif /* __ASSEMBLY__ */
31 #endif /* __ASM_PARISC_LINKAGE_H */