1 #ifndef _LINUX_LINKAGE_H
2 #define _LINUX_LINKAGE_H
4 #include <asm/linkage.h>
7 #define CPP_ASMLINKAGE extern "C"
13 #define asmlinkage CPP_ASMLINKAGE
20 #ifndef prevent_tail_call
21 # define prevent_tail_call(ret) do { } while (0)
25 #define __ALIGN .align 4,0x90
26 #define __ALIGN_STR ".align 4,0x90"
32 #define ALIGN_STR __ALIGN_STR
47 #define KPROBE_ENTRY(name) \
48 .pushsection .kprobes.text, "ax"; \
51 #define KPROBE_END(name) \
60 /* If symbol 'name' is treated as a subroutine (gets called, and returns)
61 * then please use ENDPROC to mark 'name' as STT_FUNC for the benefit of
62 * static analysis tools such as stack depth analyzer.
65 #define ENDPROC(name) \
66 .type name, @function; \
72 #define NORET_TYPE /**/
73 #define ATTRIB_NORET __attribute__((noreturn))
74 #define NORET_AND noreturn,