diff options
author | Raghu Gandham <raghu@mips.com> | 2012-03-27 11:37:17 -0700 |
---|---|---|
committer | Raghu Gandham <raghu@mips.com> | 2012-03-27 11:38:00 -0700 |
commit | 82fa43febc9d679ae6276f6bf992b9b345bb5815 (patch) | |
tree | 80d5c3b101c2b6347d6de2528db1917fcc5c69f9 /libc/kernel/arch-mips/asm/compiler.h | |
parent | 56731351de7230180fc99a1a4b0afd12f881b0f7 (diff) | |
download | android_bionic-82fa43febc9d679ae6276f6bf992b9b345bb5815.tar.gz android_bionic-82fa43febc9d679ae6276f6bf992b9b345bb5815.tar.bz2 android_bionic-82fa43febc9d679ae6276f6bf992b9b345bb5815.zip |
[MIPS] Clean Kernel headers are generated by running
libc/kernel/tools/update_all.py script. This patch ignores
any changes to libc/kernel directory not related to MIPS
architecture.
Change-Id: I2c9e461dccb7c33eb4420be2db1a562f45137c8d
Signed-off-by: Raghu Gandham <raghu@mips.com>
Signed-off-by: Chris Dearman <chris@mips.com>
Diffstat (limited to 'libc/kernel/arch-mips/asm/compiler.h')
-rw-r--r-- | libc/kernel/arch-mips/asm/compiler.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libc/kernel/arch-mips/asm/compiler.h b/libc/kernel/arch-mips/asm/compiler.h new file mode 100644 index 000000000..e31f272d2 --- /dev/null +++ b/libc/kernel/arch-mips/asm/compiler.h @@ -0,0 +1,30 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _ASM_COMPILER_H +#define _ASM_COMPILER_H +#if __GNUC__ > (3 || __GNUC__ == (3 && __GNUC_MINOR__ >= 4)) +#define GCC_IMM_ASM() "n" +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define GCC_REG_ACCUM "$0" +#else +#define GCC_IMM_ASM() "rn" +#define GCC_REG_ACCUM "accum" +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif +#endif |