diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 16:20:27 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 16:20:27 +0200 |
commit | 6f2ea729756e09aa02d5ceb395c2a67323948ab2 (patch) | |
tree | 1abc4cb2d99fae59982ace891a112d2b98e5a242 /arch/sh/include/asm/msgbuf.h | |
parent | sh: Convert to asm-generic/termbits.h and termios.h. (diff) | |
download | linux-6f2ea729756e09aa02d5ceb395c2a67323948ab2.tar.xz linux-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/msgbuf.h')
-rw-r--r-- | arch/sh/include/asm/msgbuf.h | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/arch/sh/include/asm/msgbuf.h b/arch/sh/include/asm/msgbuf.h index 517432343fb5..809134c644a6 100644 --- a/arch/sh/include/asm/msgbuf.h +++ b/arch/sh/include/asm/msgbuf.h @@ -1,31 +1 @@ -#ifndef __ASM_SH_MSGBUF_H -#define __ASM_SH_MSGBUF_H - -/* - * The msqid64_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 msqid64_ds { - struct ipc64_perm msg_perm; - __kernel_time_t msg_stime; /* last msgsnd time */ - unsigned long __unused1; - __kernel_time_t msg_rtime; /* last msgrcv time */ - unsigned long __unused2; - __kernel_time_t msg_ctime; /* last change time */ - unsigned long __unused3; - unsigned long msg_cbytes; /* current number of bytes on queue */ - unsigned long msg_qnum; /* number of messages in queue */ - unsigned long msg_qbytes; /* max number of bytes on queue */ - __kernel_pid_t msg_lspid; /* pid of last msgsnd */ - __kernel_pid_t msg_lrpid; /* last receive pid */ - unsigned long __unused4; - unsigned long __unused5; -}; - -#endif /* __ASM_SH_MSGBUF_H */ +#include <asm-generic/msgbuf.h> |