diff options
author | Raghu Gandham <raghu@mips.com> | 2012-09-21 17:13:25 -0700 |
---|---|---|
committer | Raghu Gandham <raghu@mips.com> | 2012-09-21 17:14:05 -0700 |
commit | 988ff8ff9fb8bb3394d5571ce088b23dc828edb5 (patch) | |
tree | 7611d4872120758dc0c182573c16ce914940b146 /libc/kernel/arch-mips/asm/fcntl.h | |
parent | 47dc4d431017e701239dd7d9a16333e0ad56a0ac (diff) | |
download | android_bionic-988ff8ff9fb8bb3394d5571ce088b23dc828edb5.tar.gz android_bionic-988ff8ff9fb8bb3394d5571ce088b23dc828edb5.tar.bz2 android_bionic-988ff8ff9fb8bb3394d5571ce088b23dc828edb5.zip |
[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS.
Some of the required structure definitons are defined under this macro.
Change-Id: I7a9a986e371381697dcb56bd8ea362856ffa7509
Diffstat (limited to 'libc/kernel/arch-mips/asm/fcntl.h')
-rw-r--r-- | libc/kernel/arch-mips/asm/fcntl.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/libc/kernel/arch-mips/asm/fcntl.h b/libc/kernel/arch-mips/asm/fcntl.h index 26863404f..73de4ad3a 100644 --- a/libc/kernel/arch-mips/asm/fcntl.h +++ b/libc/kernel/arch-mips/asm/fcntl.h @@ -43,6 +43,18 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define F_SETLKW64 35 #endif +struct flock { + short l_type; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + short l_whence; + off_t l_start; + off_t l_len; + long l_sysid; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __kernel_pid_t l_pid; + long pad[4]; +}; +#define HAVE_ARCH_STRUCT_FLOCK +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #include <asm-generic/fcntl.h> #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |