int-ll64.h 801 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * asm-generic/int-ll64.h
  3. *
  4. * Integer declarations for architectures which use "long long"
  5. * for 64-bit types.
  6. */
  7. #ifndef _ASM_GENERIC_INT_LL64_H
  8. #define _ASM_GENERIC_INT_LL64_H
  9. #include <asm/bitsperlong.h>
  10. #ifndef __ASSEMBLY__
  11. /*
  12. * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  13. * header files exported to user space
  14. */
  15. typedef __signed__ char __s8;
  16. typedef unsigned char __u8;
  17. typedef __signed__ short __s16;
  18. typedef unsigned short __u16;
  19. typedef __signed__ int __s32;
  20. typedef unsigned int __u32;
  21. #ifdef __GNUC__
  22. __extension__ typedef __signed__ long long __s64;
  23. __extension__ typedef unsigned long long __u64;
  24. #else
  25. typedef __signed__ long long __s64;
  26. typedef unsigned long long __u64;
  27. #endif
  28. #endif /* __ASSEMBLY__ */
  29. #endif /* _ASM_GENERIC_INT_LL64_H */