Path: blob/master/arch/powerpc/include/uapi/asm/sembuf.h
26516 views
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */1#ifndef _ASM_POWERPC_SEMBUF_H2#define _ASM_POWERPC_SEMBUF_H34#include <asm/ipcbuf.h>56/*7* This program is free software; you can redistribute it and/or8* modify it under the terms of the GNU General Public License9* as published by the Free Software Foundation; either version10* 2 of the License, or (at your option) any later version.11*/1213/*14* The semid64_ds structure for PPC architecture.15* Note extra padding because this structure is passed back and forth16* between kernel and user space.17*18* Pad space is left for:19* - 2 miscellaneous 32/64-bit values20*/2122struct semid64_ds {23struct ipc64_perm sem_perm; /* permissions .. see ipc.h */24#ifndef __powerpc64__25unsigned long sem_otime_high;26unsigned long sem_otime; /* last semop time */27unsigned long sem_ctime_high;28unsigned long sem_ctime; /* last change time */29#else30long sem_otime; /* last semop time */31long sem_ctime; /* last change time */32#endif33unsigned long sem_nsems; /* no. of semaphores in array */34unsigned long __unused3;35unsigned long __unused4;36};3738#endif /* _ASM_POWERPC_SEMBUF_H */394041