blob: 0dd4a62787826ca186ec5457c698d1982aa9f7d8 [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 ***
10 ****************************************************************************
11 ****************************************************************************/
12#define barrier() __asm__ __volatile__("": : :"memory")
Ben Cheng4b29af02012-03-07 16:14:53 -080013
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080014#define RELOC_HIDE(ptr, off) ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"(ptr)); (typeof(ptr)) (__ptr + (off)); })
Ben Cheng4b29af02012-03-07 16:14:53 -080015
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080016#define inline inline __attribute__((always_inline))
17#define __inline__ __inline__ __attribute__((always_inline))
18#define __inline __inline __attribute__((always_inline))
19#define __deprecated __attribute__((deprecated))
20#define noinline __attribute__((noinline))
21#define __attribute_pure__ __attribute__((pure))
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#define __attribute_const__ __attribute__((__const__))