Full support for Ginger Console
[linux-ginger.git] / arch / parisc / include / asm / linkage.h
blob0b19a7242d0c1237a1f0f9a079043149b0b8b7df
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 separate independent 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 */