blob: b2f4b8bb28a0523d167032c0aa96de3131727f6d [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
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.
9 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_LINKAGE_H
20#define _LINUX_LINKAGE_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#include <asm/linkage.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#ifdef __cplusplus
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define CPP_ASMLINKAGE extern "C"
25#else
26#define CPP_ASMLINKAGE
27#endif
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#ifndef asmlinkage
30#define asmlinkage CPP_ASMLINKAGE
31#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080032#ifndef prevent_tail_call
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#define prevent_tail_call(ret) do { } while (0)
35#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080036#ifndef __ALIGN
37#define __ALIGN .align 4,0x90
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#define __ALIGN_STR ".align 4,0x90"
40#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080041#ifdef __ASSEMBLY__
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080042#define ALIGN __ALIGN
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#define ALIGN_STR __ALIGN_STR
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080045#ifndef ENTRY
46#define ENTRY(name) .globl name; ALIGN; name:
47#endif
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define KPROBE_ENTRY(name) .section .kprobes.text, "ax"; ENTRY(name)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080050#ifndef END
51#define END(name) .size name, .-name
52#endif
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054#ifndef ENDPROC
55#define ENDPROC(name) .type name, @function; END(name)
56#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080057#endif
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080059#define NORET_TYPE
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080060#define ATTRIB_NORET __attribute__((noreturn))
61#define NORET_AND noreturn,
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080062#ifndef FASTCALL
Ben Cheng654325d2012-03-07 21:13:49 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080064#define FASTCALL(x) x
65#define fastcall
66#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080067#endif
Ben Cheng654325d2012-03-07 21:13:49 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */