Commit | Line | Data |
---|---|---|
c5e76552 HD |
1 | #ifndef __ASM_PARISC_LINKAGE_H |
2 | #define __ASM_PARISC_LINKAGE_H | |
1da177e4 | 3 | |
c5e76552 HD |
4 | #ifndef __ALIGN |
5 | #define __ALIGN .align 4 | |
6 | #define __ALIGN_STR ".align 4" | |
1da177e4 | 7 | #endif |
c5e76552 HD |
8 | |
9 | /* | |
b288a8f7 | 10 | * In parisc assembly a semicolon marks a comment while a |
516a9491 | 11 | * exclamation mark is used to seperate independent lines. |
c5e76552 | 12 | */ |
c2b6ebd5 HD |
13 | #ifdef __ASSEMBLY__ |
14 | ||
c5e76552 | 15 | #define ENTRY(name) \ |
b288a8f7 | 16 | .export name !\ |
c5e76552 HD |
17 | ALIGN !\ |
18 | name: | |
19 | ||
b288a8f7 HD |
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 | |
28 | ||
c2b6ebd5 | 29 | #endif /* __ASSEMBLY__ */ |
b288a8f7 | 30 | |
c5e76552 | 31 | #endif /* __ASM_PARISC_LINKAGE_H */ |