fs: use kmem_cache_zalloc instead
[pv_ops_mirror.git] / include / asm-sh64 / ipcbuf.h
blobc441e35299c010cad86421dacdad56ea470c221f
1 #ifndef __ASM_SH64_IPCBUF_H__
2 #define __ASM_SH64_IPCBUF_H__
4 /*
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
7 * for more details.
9 * include/asm-sh64/ipcbuf.h
11 * Copyright (C) 2000, 2001 Paolo Alberelli
16 * The ipc64_perm structure for i386 architecture.
17 * Note extra padding because this structure is passed back and forth
18 * between kernel and user space.
20 * Pad space is left for:
21 * - 32-bit mode_t and seq
22 * - 2 miscellaneous 32-bit values
25 struct ipc64_perm
27 __kernel_key_t key;
28 __kernel_uid32_t uid;
29 __kernel_gid32_t gid;
30 __kernel_uid32_t cuid;
31 __kernel_gid32_t cgid;
32 __kernel_mode_t mode;
33 unsigned short __pad1;
34 unsigned short seq;
35 unsigned short __pad2;
36 unsigned long __unused1;
37 unsigned long __unused2;
40 #endif /* __ASM_SH64_IPCBUF_H__ */