1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_LINKAGE_H
13 #define _LINUX_LINKAGE_H
15 #include <asm/linkage.h>
18 #define CPP_ASMLINKAGE extern "C"
20 #define CPP_ASMLINKAGE
24 #define asmlinkage CPP_ASMLINKAGE
27 #ifndef prevent_tail_call
28 #define prevent_tail_call(ret) do { } while (0)
32 #define __ALIGN .align 4,0x90
33 #define __ALIGN_STR ".align 4,0x90"
39 #define ALIGN_STR __ALIGN_STR
42 #define ENTRY(name) .globl name; ALIGN; name:
45 #define KPROBE_ENTRY(name) .section .kprobes.text, "ax"; ENTRY(name)
48 #define END(name) .size name, .-name
52 #define ENDPROC(name) .type name, @function; END(name)
58 #define ATTRIB_NORET __attribute__((noreturn))
59 #define NORET_AND noreturn,