blob: 958fa912764fcec09a499616c78169431bf42bc4 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef __ASM_GENERIC_SEMBUF_H
8#define __ASM_GENERIC_SEMBUF_H
9#include <asm/bitsperlong.h>
Christopher Ferrisef80d682020-02-04 16:16:51 -080010#include <asm/ipcbuf.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070011struct semid64_ds {
Tao Baod7db5942015-01-28 10:07:51 -080012 struct ipc64_perm sem_perm;
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070013#if __BITS_PER_LONG == 64
Christopher Ferrisef80d682020-02-04 16:16:51 -080014 long sem_otime;
15 long sem_ctime;
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070016#else
17 unsigned long sem_otime;
18 unsigned long sem_otime_high;
19 unsigned long sem_ctime;
20 unsigned long sem_ctime_high;
Ben Cheng655a7c02013-10-16 16:09:24 -070021#endif
Tao Baod7db5942015-01-28 10:07:51 -080022 unsigned long sem_nsems;
23 unsigned long __unused3;
24 unsigned long __unused4;
Ben Cheng655a7c02013-10-16 16:09:24 -070025};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080026#endif