siginfo.h 608 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __SPARC_SIGINFO_H
  2. #define __SPARC_SIGINFO_H
  3. #if defined(__sparc__) && defined(__arch64__)
  4. #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
  5. #define __ARCH_SI_BAND_T int
  6. #endif /* defined(__sparc__) && defined(__arch64__) */
  7. #define __ARCH_SI_TRAPNO
  8. #include <asm-generic/siginfo.h>
  9. #ifdef __KERNEL__
  10. #ifdef CONFIG_COMPAT
  11. struct compat_siginfo;
  12. #endif /* CONFIG_COMPAT */
  13. #endif /* __KERNEL__ */
  14. #define SI_NOINFO 32767 /* no information in siginfo_t */
  15. /*
  16. * SIGEMT si_codes
  17. */
  18. #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
  19. #define NSIGEMT 1
  20. #endif /* !(__SPARC_SIGINFO_H) */