summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/uapi/asm/sembuf.h
diff options
context:
space:
mode:
authorDavid Howells2012-10-09 10:47:14 +0200
committerDavid Howells2012-10-09 10:47:14 +0200
commit61730c538f8281efa7ac12596da9f3f9a31b9272 (patch)
treecda3febfc512cd4dd667601427b42b612d7ea6d7 /arch/mips/include/uapi/asm/sembuf.h
parentMerge branch 'akpm' (Andrew's patch-bomb) (diff)
downloadkernel-qcow2-linux-61730c538f8281efa7ac12596da9f3f9a31b9272.tar.gz
kernel-qcow2-linux-61730c538f8281efa7ac12596da9f3f9a31b9272.tar.xz
kernel-qcow2-linux-61730c538f8281efa7ac12596da9f3f9a31b9272.zip
UAPI: (Scripted) Disintegrate arch/mips/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/mips/include/uapi/asm/sembuf.h')
-rw-r--r--arch/mips/include/uapi/asm/sembuf.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/sembuf.h b/arch/mips/include/uapi/asm/sembuf.h
new file mode 100644
index 000000000000..7281a4decaa0
--- /dev/null
+++ b/arch/mips/include/uapi/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 */