blob: 6db10ee96578ec73f8f01c88e4e6ca20f8ffa405 [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#ifndef __ASM_LINKAGE_H
13#define __ASM_LINKAGE_H
14
15#define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
16#define FASTCALL(x) x __attribute__((regparm(3)))
17#define fastcall __attribute__((regparm(3)))
18
19#define prevent_tail_call(ret) __asm__ ("" : "=r" (ret) : "0" (ret))
20
21#endif