License cleanup: add SPDX license identifier to uapi header files with no license
[linux-block.git] / arch / mn10300 / include / uapi / asm / shmbuf.h
CommitLineData
6f52b16c 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
b920de1b
DH
2#ifndef _ASM_SHMBUF_H
3#define _ASM_SHMBUF_H
4
5/*
6 * The shmid64_ds structure for MN10300 architecture.
7 * Note extra padding because this structure is passed back and forth
8 * between kernel and user space.
9 *
10 * Pad space is left for:
11 * - 64-bit time_t to solve y2038 problem
12 * - 2 miscellaneous 32-bit values
13 */
14
15struct shmid64_ds {
16 struct ipc64_perm shm_perm; /* operation perms */
17 size_t shm_segsz; /* size of segment (bytes) */
18 __kernel_time_t shm_atime; /* last attach time */
19 unsigned long __unused1;
20 __kernel_time_t shm_dtime; /* last detach time */
21 unsigned long __unused2;
22 __kernel_time_t shm_ctime; /* last change time */
23 unsigned long __unused3;
24 __kernel_pid_t shm_cpid; /* pid of creator */
25 __kernel_pid_t shm_lpid; /* pid of last operator */
26 unsigned long shm_nattch; /* no. of current attaches */
27 unsigned long __unused4;
28 unsigned long __unused5;
29};
30
31struct shminfo64 {
32 unsigned long shmmax;
33 unsigned long shmmin;
34 unsigned long shmmni;
35 unsigned long shmseg;
36 unsigned long shmall;
37 unsigned long __unused1;
38 unsigned long __unused2;
39 unsigned long __unused3;
40 unsigned long __unused4;
41};
42
43#endif /* _ASM_SHMBUF_H */