]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/microblaze/include/asm/sembuf.h
Merge branch 'x86/urgent' into x86/setup
[mirror_ubuntu-bionic-kernel.git] / arch / microblaze / include / asm / sembuf.h
1 /*
2 * Copyright (C) 2006 Atmark Techno, Inc.
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 */
8
9 #ifndef _ASM_MICROBLAZE_SEMBUF_H
10 #define _ASM_MICROBLAZE_SEMBUF_H
11
12 /*
13 * The semid64_ds structure for microblaze architecture.
14 * Note extra padding because this structure is passed back and forth
15 * between kernel and user space.
16 *
17 * Pad space is left for:
18 * - 64-bit time_t to solve y2038 problem
19 * - 2 miscellaneous 32-bit values
20 */
21
22 struct semid64_ds {
23 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
24 __kernel_time_t sem_otime; /* last semop time */
25 unsigned long __unused1;
26 __kernel_time_t sem_ctime; /* last change time */
27 unsigned long __unused2;
28 unsigned long sem_nsems; /* no. of semaphores in array */
29 unsigned long __unused3;
30 unsigned long __unused4;
31 };
32
33
34 #endif /* _ASM_MICROBLAZE_SEMBUF_H */