drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / sparc / include / uapi / asm / ipcbuf.h
blob0ea1240d2ea17bdf9e67a75db959ff2440d55a28
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef __SPARC_IPCBUF_H
3 #define __SPARC_IPCBUF_H
5 #include <linux/posix_types.h>
7 /*
8 * The ipc64_perm structure for sparc/sparc64 architecture.
9 * Note extra padding because this structure is passed back and forth
10 * between kernel and user space.
12 * Pad space is left for:
13 * - 32-bit seq
14 * - on sparc for 32 bit mode (it is 32 bit on sparc64)
15 * - 2 miscellaneous 64-bit values
18 struct ipc64_perm
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 #ifndef __arch64__
26 unsigned short __pad0;
27 #endif
28 __kernel_mode_t mode;
29 unsigned short __pad1;
30 unsigned short seq;
31 unsigned long long __unused1;
32 unsigned long long __unused2;
35 #endif /* __SPARC_IPCBUF_H */