int-l64.h 718 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * asm-generic/int-l64.h
  4. *
  5. * Integer declarations for architectures which use "long"
  6. * for 64-bit types.
  7. */
  8. #ifndef _ASM_GENERIC_INT_L64_H
  9. #define _ASM_GENERIC_INT_L64_H
  10. #include <asm/bitsperlong.h>
  11. #ifndef __ASSEMBLY__
  12. /*
  13. * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  14. * header files exported to user space
  15. */
  16. typedef __signed__ char __s8;
  17. typedef unsigned char __u8;
  18. typedef __signed__ short __s16;
  19. typedef unsigned short __u16;
  20. typedef __signed__ int __s32;
  21. typedef unsigned int __u32;
  22. typedef __signed__ long __s64;
  23. typedef unsigned long __u64;
  24. #endif /* __ASSEMBLY__ */
  25. #endif /* _ASM_GENERIC_INT_L64_H */