diff options
author | Christopher Ferris <cferris@google.com> | 2014-06-21 00:58:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-06-20 20:43:43 +0000 |
commit | ac86f99405707aa099e11d97cd68bfe011cf7a32 (patch) | |
tree | 67a6acc457d4c398fc483e0b78f97688ac07f629 | |
parent | eee5f173d1e55c1fe35ef664b6eb0aa3eeab942d (diff) | |
parent | 2300332596f181c8b5c19b6d912c645161cf1486 (diff) | |
download | android_bionic-ac86f99405707aa099e11d97cd68bfe011cf7a32.tar.gz android_bionic-ac86f99405707aa099e11d97cd68bfe011cf7a32.tar.bz2 android_bionic-ac86f99405707aa099e11d97cd68bfe011cf7a32.zip |
Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"
-rw-r--r-- | libc/kernel/uapi/asm-mips/asm/fcntl.h | 8 | ||||
-rw-r--r-- | libc/kernel/uapi/asm-mips/asm/msgbuf.h | 18 | ||||
-rw-r--r-- | libc/kernel/uapi/asm-mips/asm/resource.h | 5 | ||||
-rw-r--r-- | libc/kernel/uapi/asm-mips/asm/siginfo.h | 34 | ||||
-rw-r--r-- | libc/kernel/uapi/asm-mips/asm/types.h | 5 |
5 files changed, 40 insertions, 30 deletions
diff --git a/libc/kernel/uapi/asm-mips/asm/fcntl.h b/libc/kernel/uapi/asm-mips/asm/fcntl.h index 4a9bf5cc0..e77f79acb 100644 --- a/libc/kernel/uapi/asm-mips/asm/fcntl.h +++ b/libc/kernel/uapi/asm-mips/asm/fcntl.h @@ -46,19 +46,21 @@ #define F_SETLKW64 35 #endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#ifdef _ABIO32 #include <linux/types.h> struct flock { short l_type; - short l_whence; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + short l_whence; __kernel_off_t l_start; __kernel_off_t l_len; long l_sysid; - __kernel_pid_t l_pid; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __kernel_pid_t l_pid; long pad[4]; }; #define HAVE_ARCH_STRUCT_FLOCK -#include <asm-generic/fcntl.h> /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif +#include <asm-generic/fcntl.h> +#endif diff --git a/libc/kernel/uapi/asm-mips/asm/msgbuf.h b/libc/kernel/uapi/asm-mips/asm/msgbuf.h index d81da7390..624bddf22 100644 --- a/libc/kernel/uapi/asm-mips/asm/msgbuf.h +++ b/libc/kernel/uapi/asm-mips/asm/msgbuf.h @@ -21,21 +21,29 @@ struct msqid64_ds { struct ipc64_perm msg_perm; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned long __unused1; __kernel_time_t msg_stime; - unsigned long __unused2; +#ifdef _ABIO32 + unsigned long __unused1; +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __kernel_time_t msg_rtime; +#ifdef _ABIO32 + unsigned long __unused2; +#endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned long __unused3; __kernel_time_t msg_ctime; +#ifdef _ABIO32 + unsigned long __unused3; +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long msg_cbytes; unsigned long msg_qnum; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long msg_qbytes; __kernel_pid_t msg_lspid; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __kernel_pid_t msg_lrpid; unsigned long __unused4; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long __unused5; }; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif diff --git a/libc/kernel/uapi/asm-mips/asm/resource.h b/libc/kernel/uapi/asm-mips/asm/resource.h index 87616976f..ff7cfd5d2 100644 --- a/libc/kernel/uapi/asm-mips/asm/resource.h +++ b/libc/kernel/uapi/asm-mips/asm/resource.h @@ -24,7 +24,10 @@ #define RLIMIT_RSS 7 #define RLIMIT_NPROC 8 #define RLIMIT_MEMLOCK 9 -#define RLIM_INFINITY 0x7fffffffUL +#ifdef _ABIO32 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define RLIM_INFINITY 0x7fffffffUL +#endif #include <asm-generic/resource.h> #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/libc/kernel/uapi/asm-mips/asm/siginfo.h b/libc/kernel/uapi/asm-mips/asm/siginfo.h index 45b418a3c..4abc7af27 100644 --- a/libc/kernel/uapi/asm-mips/asm/siginfo.h +++ b/libc/kernel/uapi/asm-mips/asm/siginfo.h @@ -24,80 +24,82 @@ #define HAVE_ARCH_SIGINFO_T #define HAVE_ARCH_COPY_SIGINFO struct siginfo; -#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int)) +#ifdef _ABIO32 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int)) +#endif #ifdef __LP64__ #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif #include <asm-generic/siginfo.h> -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef struct siginfo { int si_signo; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int si_code; int si_errno; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int __pad0[SI_MAX_SIZE / sizeof(int) - SI_PAD_SIZE - 3]; union { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int _pad[SI_PAD_SIZE]; struct { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ pid_t _pid; __ARCH_SI_UID_T _uid; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } _kill; struct { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ timer_t _tid; int _overrun; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)]; sigval_t _sigval; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int _sys_private; } _timer; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct { pid_t _pid; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __ARCH_SI_UID_T _uid; sigval_t _sigval; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } _rt; struct { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ pid_t _pid; __ARCH_SI_UID_T _uid; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int _status; clock_t _utime; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ clock_t _stime; } _sigchld; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct { pid_t _pid; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ clock_t _utime; int _status; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ clock_t _stime; } _irix_sigchld; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct { void __user *_addr; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #ifdef __ARCH_SI_TRAPNO int _trapno; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif short _addr_lsb; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } _sigfault; struct { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __ARCH_SI_BAND_T _band; int _fd; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } _sigpoll; } _sifields; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } siginfo_t; #undef SI_ASYNCIO +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #undef SI_TIMER #undef SI_MESGQ -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SI_ASYNCIO -2 #define SI_TIMER __SI_CODE(__SI_TIMER, -3) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SI_MESGQ __SI_CODE(__SI_MESGQ, -4) #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/libc/kernel/uapi/asm-mips/asm/types.h b/libc/kernel/uapi/asm-mips/asm/types.h index 45fea6c6b..9ef7b7c91 100644 --- a/libc/kernel/uapi/asm-mips/asm/types.h +++ b/libc/kernel/uapi/asm-mips/asm/types.h @@ -18,11 +18,6 @@ ****************************************************************************/ #ifndef _UAPI_ASM_TYPES_H #define _UAPI_ASM_TYPES_H -#if _MIPS_SZLONG == 64 -#include <asm-generic/int-l64.h> -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#else #include <asm-generic/int-ll64.h> #endif -#endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |