1 #ifndef _LINUX_LINKAGE_H
2 #define _LINUX_LINKAGE_H
4 #include <linux/config.h>
5 #include <asm/linkage.h>
8 #define CPP_ASMLINKAGE extern "C"
10 #define CPP_ASMLINKAGE
14 #define asmlinkage CPP_ASMLINKAGE
17 #ifndef prevent_tail_call
18 # define prevent_tail_call(ret) do { } while (0)
22 #define __ALIGN .align 4,0x90
23 #define __ALIGN_STR ".align 4,0x90"
29 #define ALIGN_STR __ALIGN_STR
38 #define KPROBE_ENTRY(name) \
39 .section .kprobes.text, "ax"; \
48 #define ENDPROC(name) \
49 .type name, @function; \
55 #define NORET_TYPE /**/
56 #define ATTRIB_NORET __attribute__((noreturn))
57 #define NORET_AND noreturn,