Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
linkage.h
Go to the documentation of this file.
1 #ifndef __ASM_PARISC_LINKAGE_H
2 #define __ASM_PARISC_LINKAGE_H
3 
4 #ifndef __ALIGN
5 #define __ALIGN .align 4
6 #define __ALIGN_STR ".align 4"
7 #endif
8 
9 /*
10  * In parisc assembly a semicolon marks a comment while a
11  * exclamation mark is used to separate independent lines.
12  */
13 #ifdef __ASSEMBLY__
14 
15 #define ENTRY(name) \
16  .export name !\
17  ALIGN !\
18 name:
19 
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 
29 #endif /* __ASSEMBLY__ */
30 
31 #endif /* __ASM_PARISC_LINKAGE_H */