The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 1 | /**************************************************************************** |
| 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 |