summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/ipcbuf.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-03-27 16:25:28 +0300
committerMichal Simek <monstr@monstr.eu>2009-03-27 16:25:28 +0300
commit7dcbbb2b17d4ef0d0541708eddfb720e2e422c3b (patch)
tree39607b2cde26579ac0b3357ff539f79012e58bf1 /arch/microblaze/include/asm/ipcbuf.h
parent2b4384542691fddd309f9324b5a9af976b75e918 (diff)
downloadlinux-7dcbbb2b17d4ef0d0541708eddfb720e2e422c3b.tar.xz
microblaze_v8: IPC support
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/ipcbuf.h')
-rw-r--r--arch/microblaze/include/asm/ipcbuf.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/ipcbuf.h b/arch/microblaze/include/asm/ipcbuf.h
new file mode 100644
index 000000000000..b056fa420654
--- /dev/null
+++ b/arch/microblaze/include/asm/ipcbuf.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2006 Atmark Techno, Inc.
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ */
+
+#ifndef _ASM_MICROBLAZE_IPCBUF_H
+#define _ASM_MICROBLAZE_IPCBUF_H
+
+/*
+ * The user_ipc_perm structure for microblaze architecture.
+ * Note extra padding because this structure is passed back and forth
+ * between kernel and user space.
+ *
+ * Pad space is left for:
+ * - 32-bit mode_t and seq
+ * - 2 miscellaneous 32-bit values
+ */
+
+struct ipc64_perm {
+ __kernel_key_t key;
+ __kernel_uid32_t uid;
+ __kernel_gid32_t gid;
+ __kernel_uid32_t cuid;
+ __kernel_gid32_t cgid;
+ __kernel_mode_t mode;
+ unsigned short __pad1;
+ unsigned short seq;
+ unsigned short __pad2;
+ unsigned long __unused1;
+ unsigned long __unused2;
+};
+
+#endif /* _ASM_MICROBLAZE_IPCBUF_H */