Go to the documentation of this file. 1 #ifndef _LINUX_LINKAGE_H
2 #define _LINUX_LINKAGE_H
4 #include <linux/compiler.h>
5 #include <asm/linkage.h>
8 #define CPP_ASMLINKAGE extern "C"
10 #define CPP_ASMLINKAGE
14 #define asmlinkage CPP_ASMLINKAGE
17 #define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
18 #define __page_aligned_bss __section(.bss..page_aligned) __aligned(PAGE_SIZE)
26 #define __PAGE_ALIGNED_DATA .section ".data..page_aligned", "aw"
27 #define __PAGE_ALIGNED_BSS .section ".bss..page_aligned", "aw"
44 #ifndef asmlinkage_protect
45 # define asmlinkage_protect(n, ret, args...) do { } while (0)
50 #define __ALIGN .align 4,0x90
51 #define __ALIGN_STR ".align 4,0x90"
58 #define ALIGN_STR __ALIGN_STR
84 #define ENDPROC(name) \
85 .type name, @function; \