compat_time.h 320 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _LINUX_COMPAT_TIME_H
  3. #define _LINUX_COMPAT_TIME_H
  4. #include <linux/types.h>
  5. typedef s32 compat_time_t;
  6. struct compat_timespec {
  7. compat_time_t tv_sec;
  8. s32 tv_nsec;
  9. };
  10. struct compat_timeval {
  11. compat_time_t tv_sec;
  12. s32 tv_usec;
  13. };
  14. #endif /* _LINUX_COMPAT_TIME_H */