aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/sembuf.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 23:20:27 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 23:20:27 +0900
commit6f2ea729756e09aa02d5ceb395c2a67323948ab2 (patch)
tree1abc4cb2d99fae59982ace891a112d2b98e5a242 /arch/sh/include/asm/sembuf.h
parentsh: Convert to asm-generic/termbits.h and termios.h. (diff)
downloadlinux-dev-6f2ea729756e09aa02d5ceb395c2a67323948ab2.tar.xz
linux-dev-6f2ea729756e09aa02d5ceb395c2a67323948ab2.zip
sh: Convert ipc/shm bits to their asm-generic versions.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/sembuf.h')
-rw-r--r--arch/sh/include/asm/sembuf.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/arch/sh/include/asm/sembuf.h b/arch/sh/include/asm/sembuf.h
index d79f3bd570b2..7673b83cfef7 100644
--- a/arch/sh/include/asm/sembuf.h
+++ b/arch/sh/include/asm/sembuf.h
@@ -1,25 +1 @@
-#ifndef __ASM_SH_SEMBUF_H
-#define __ASM_SH_SEMBUF_H
-
-/*
- * The semid64_ds structure for i386 architecture.
- * Note extra padding because this structure is passed back and forth
- * between kernel and user space.
- *
- * Pad space is left for:
- * - 64-bit time_t to solve y2038 problem
- * - 2 miscellaneous 32-bit values
- */
-
-struct semid64_ds {
- struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
- __kernel_time_t sem_otime; /* last semop time */
- unsigned long __unused1;
- __kernel_time_t sem_ctime; /* last change time */
- unsigned long __unused2;
- unsigned long sem_nsems; /* no. of semaphores in array */
- unsigned long __unused3;
- unsigned long __unused4;
-};
-
-#endif /* __ASM_SH_SEMBUF_H */
+#include <asm-generic/sembuf.h>