diff options
Diffstat (limited to 'include/asm-m32r/ipcbuf.h')
-rw-r--r-- | include/asm-m32r/ipcbuf.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/asm-m32r/ipcbuf.h b/include/asm-m32r/ipcbuf.h new file mode 100644 index 000000000000..7c77fb0b1467 --- /dev/null +++ b/include/asm-m32r/ipcbuf.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #ifndef _ASM_M32R_IPCBUF_H | ||
2 | #define _ASM_M32R_IPCBUF_H | ||
3 | |||
4 | /* $Id$ */ | ||
5 | |||
6 | /* orig : i386 2.4.18 */ | ||
7 | |||
8 | /* | ||
9 | * The ipc64_perm structure for m32r architecture. | ||
10 | * Note extra padding because this structure is passed back and forth | ||
11 | * between kernel and user space. | ||
12 | * | ||
13 | * Pad space is left for: | ||
14 | * - 32-bit mode_t and seq | ||
15 | * - 2 miscellaneous 32-bit values | ||
16 | */ | ||
17 | |||
18 | struct ipc64_perm | ||
19 | { | ||
20 | __kernel_key_t key; | ||
21 | __kernel_uid32_t uid; | ||
22 | __kernel_gid32_t gid; | ||
23 | __kernel_uid32_t cuid; | ||
24 | __kernel_gid32_t cgid; | ||
25 | __kernel_mode_t mode; | ||
26 | unsigned short __pad1; | ||
27 | unsigned short seq; | ||
28 | unsigned short __pad2; | ||
29 | unsigned long __unused1; | ||
30 | unsigned long __unused2; | ||
31 | }; | ||
32 | |||
33 | #endif /* _ASM_M32R_IPCBUF_H */ | ||