shmbuf.h (3eb66e91a25497065c5322b1268cbc3953642227) shmbuf.h (caf5e32d4ea7253820f38dd7c429f8d4a8019c5f)
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2#ifndef _ASM_POWERPC_SHMBUF_H
3#define _ASM_POWERPC_SHMBUF_H
4
5/*
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 8 unchanged lines hidden (view full) ---

17 *
18 * Pad space is left for:
19 * - 2 miscellaneous 32-bit values
20 */
21
22struct shmid64_ds {
23 struct ipc64_perm shm_perm; /* operation perms */
24#ifdef __powerpc64__
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2#ifndef _ASM_POWERPC_SHMBUF_H
3#define _ASM_POWERPC_SHMBUF_H
4
5/*
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 8 unchanged lines hidden (view full) ---

17 *
18 * Pad space is left for:
19 * - 2 miscellaneous 32-bit values
20 */
21
22struct shmid64_ds {
23 struct ipc64_perm shm_perm; /* operation perms */
24#ifdef __powerpc64__
25 __kernel_time_t shm_atime; /* last attach time */
26 __kernel_time_t shm_dtime; /* last detach time */
27 __kernel_time_t shm_ctime; /* last change time */
25 long shm_atime; /* last attach time */
26 long shm_dtime; /* last detach time */
27 long shm_ctime; /* last change time */
28#else
29 unsigned long shm_atime_high;
30 unsigned long shm_atime; /* last attach time */
31 unsigned long shm_dtime_high;
32 unsigned long shm_dtime; /* last detach time */
33 unsigned long shm_ctime_high;
34 unsigned long shm_ctime; /* last change time */
35 unsigned long __unused4;

--- 22 unchanged lines hidden ---
28#else
29 unsigned long shm_atime_high;
30 unsigned long shm_atime; /* last attach time */
31 unsigned long shm_dtime_high;
32 unsigned long shm_dtime; /* last detach time */
33 unsigned long shm_ctime_high;
34 unsigned long shm_ctime; /* last change time */
35 unsigned long __unused4;

--- 22 unchanged lines hidden ---