home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-sparc64 / siginfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  560 b   |  33 lines

  1. #ifndef _SPARC64_SIGINFO_H
  2. #define _SPARC64_SIGINFO_H
  3.  
  4. #define SI_PAD_SIZE32    ((SI_MAX_SIZE/sizeof(int)) - 3)
  5.  
  6. #define __ARCH_SI_PREAMBLE_SIZE    (4 * sizeof(int))
  7. #define __ARCH_SI_TRAPNO
  8. #define __ARCH_SI_BAND_T int
  9.  
  10. #include <asm-generic/siginfo.h>
  11.  
  12. #ifdef __KERNEL__
  13.  
  14. #include <linux/compat.h>
  15.  
  16. #ifdef CONFIG_COMPAT
  17.  
  18. struct compat_siginfo;
  19.  
  20. #endif /* CONFIG_COMPAT */
  21.  
  22. #endif /* __KERNEL__ */
  23.  
  24. #define SI_NOINFO    32767        /* no information in siginfo_t */
  25.  
  26. /*
  27.  * SIGEMT si_codes
  28.  */
  29. #define EMT_TAGOVF    (__SI_FAULT|1)    /* tag overflow */
  30. #define NSIGEMT        1
  31.  
  32. #endif
  33.