From 95ed26353ce8642c266e4bd29efbb7466c6c5312 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 29 Jul 2019 18:22:33 -0400 Subject: [PATCH] duplicate generic bits/msg.h for each arch using it, in prep to change --- arch/arm/bits/msg.h | 15 +++++++++++++++ arch/i386/bits/msg.h | 15 +++++++++++++++ arch/m68k/bits/msg.h | 15 +++++++++++++++ arch/microblaze/bits/msg.h | 15 +++++++++++++++ arch/sh/bits/msg.h | 15 +++++++++++++++ 5 files changed, 75 insertions(+) create mode 100644 arch/arm/bits/msg.h create mode 100644 arch/i386/bits/msg.h create mode 100644 arch/m68k/bits/msg.h create mode 100644 arch/microblaze/bits/msg.h create mode 100644 arch/sh/bits/msg.h diff --git a/arch/arm/bits/msg.h b/arch/arm/bits/msg.h new file mode 100644 index 00000000..bc8436c4 --- /dev/null +++ b/arch/arm/bits/msg.h @@ -0,0 +1,15 @@ +struct msqid_ds { + struct ipc_perm msg_perm; + time_t msg_stime; + int __unused1; + time_t msg_rtime; + int __unused2; + time_t msg_ctime; + int __unused3; + unsigned long msg_cbytes; + msgqnum_t msg_qnum; + msglen_t msg_qbytes; + pid_t msg_lspid; + pid_t msg_lrpid; + unsigned long __unused[2]; +}; diff --git a/arch/i386/bits/msg.h b/arch/i386/bits/msg.h new file mode 100644 index 00000000..bc8436c4 --- /dev/null +++ b/arch/i386/bits/msg.h @@ -0,0 +1,15 @@ +struct msqid_ds { + struct ipc_perm msg_perm; + time_t msg_stime; + int __unused1; + time_t msg_rtime; + int __unused2; + time_t msg_ctime; + int __unused3; + unsigned long msg_cbytes; + msgqnum_t msg_qnum; + msglen_t msg_qbytes; + pid_t msg_lspid; + pid_t msg_lrpid; + unsigned long __unused[2]; +}; diff --git a/arch/m68k/bits/msg.h b/arch/m68k/bits/msg.h new file mode 100644 index 00000000..bc8436c4 --- /dev/null +++ b/arch/m68k/bits/msg.h @@ -0,0 +1,15 @@ +struct msqid_ds { + struct ipc_perm msg_perm; + time_t msg_stime; + int __unused1; + time_t msg_rtime; + int __unused2; + time_t msg_ctime; + int __unused3; + unsigned long msg_cbytes; + msgqnum_t msg_qnum; + msglen_t msg_qbytes; + pid_t msg_lspid; + pid_t msg_lrpid; + unsigned long __unused[2]; +}; diff --git a/arch/microblaze/bits/msg.h b/arch/microblaze/bits/msg.h new file mode 100644 index 00000000..bc8436c4 --- /dev/null +++ b/arch/microblaze/bits/msg.h @@ -0,0 +1,15 @@ +struct msqid_ds { + struct ipc_perm msg_perm; + time_t msg_stime; + int __unused1; + time_t msg_rtime; + int __unused2; + time_t msg_ctime; + int __unused3; + unsigned long msg_cbytes; + msgqnum_t msg_qnum; + msglen_t msg_qbytes; + pid_t msg_lspid; + pid_t msg_lrpid; + unsigned long __unused[2]; +}; diff --git a/arch/sh/bits/msg.h b/arch/sh/bits/msg.h new file mode 100644 index 00000000..bc8436c4 --- /dev/null +++ b/arch/sh/bits/msg.h @@ -0,0 +1,15 @@ +struct msqid_ds { + struct ipc_perm msg_perm; + time_t msg_stime; + int __unused1; + time_t msg_rtime; + int __unused2; + time_t msg_ctime; + int __unused3; + unsigned long msg_cbytes; + msgqnum_t msg_qnum; + msglen_t msg_qbytes; + pid_t msg_lspid; + pid_t msg_lrpid; + unsigned long __unused[2]; +};