diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 10:20:27 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 10:20:27 -0400 |
commit | 6f2ea729756e09aa02d5ceb395c2a67323948ab2 (patch) | |
tree | 1abc4cb2d99fae59982ace891a112d2b98e5a242 /arch/sh/include/asm/sembuf.h | |
parent | 4b1239559ee96850889343bbf902de5129bac2ce (diff) |
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.h | 26 |
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 @@ | |||
1 | #ifndef __ASM_SH_SEMBUF_H | #include <asm-generic/sembuf.h> | |
2 | #define __ASM_SH_SEMBUF_H | ||
3 | |||
4 | /* | ||
5 | * The semid64_ds structure for i386 architecture. | ||
6 | * Note extra padding because this structure is passed back and forth | ||
7 | * between kernel and user space. | ||
8 | * | ||
9 | * Pad space is left for: | ||
10 | * - 64-bit time_t to solve y2038 problem | ||
11 | * - 2 miscellaneous 32-bit values | ||
12 | */ | ||
13 | |||
14 | struct semid64_ds { | ||
15 | struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ | ||
16 | __kernel_time_t sem_otime; /* last semop time */ | ||
17 | unsigned long __unused1; | ||
18 | __kernel_time_t sem_ctime; /* last change time */ | ||
19 | unsigned long __unused2; | ||
20 | unsigned long sem_nsems; /* no. of semaphores in array */ | ||
21 | unsigned long __unused3; | ||
22 | unsigned long __unused4; | ||
23 | }; | ||
24 | |||
25 | #endif /* __ASM_SH_SEMBUF_H */ | ||