From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/mips/include/asm/sembuf.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ANDROID_3.4.5/arch/mips/include/asm/sembuf.h (limited to 'ANDROID_3.4.5/arch/mips/include/asm/sembuf.h') diff --git a/ANDROID_3.4.5/arch/mips/include/asm/sembuf.h b/ANDROID_3.4.5/arch/mips/include/asm/sembuf.h new file mode 100644 index 00000000..7281a4de --- /dev/null +++ b/ANDROID_3.4.5/arch/mips/include/asm/sembuf.h @@ -0,0 +1,22 @@ +#ifndef _ASM_SEMBUF_H +#define _ASM_SEMBUF_H + +/* + * The semid64_ds structure for the MIPS architecture. + * Note extra padding because this structure is passed back and forth + * between kernel and user space. + * + * Pad space is left for: + * - 2 miscellaneous 64-bit values + */ + +struct semid64_ds { + struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ + __kernel_time_t sem_otime; /* last semop time */ + __kernel_time_t sem_ctime; /* last change time */ + unsigned long sem_nsems; /* no. of semaphores in array */ + unsigned long __unused1; + unsigned long __unused2; +}; + +#endif /* _ASM_SEMBUF_H */ -- cgit