sembuf.h 975 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef __ASM_SH64_SEMBUF_H
  2. #define __ASM_SH64_SEMBUF_H
  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. * include/asm-sh64/sembuf.h
  9. *
  10. * Copyright (C) 2000, 2001 Paolo Alberelli
  11. *
  12. */
  13. /*
  14. * The semid64_ds structure for i386 architecture.
  15. * Note extra padding because this structure is passed back and forth
  16. * between kernel and user space.
  17. *
  18. * Pad space is left for:
  19. * - 64-bit time_t to solve y2038 problem
  20. * - 2 miscellaneous 32-bit values
  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. #endif /* __ASM_SH64_SEMBUF_H */