| 1 | /* Architecture-specific adjustments to siginfo_t. SPARC version. */ |
| 2 | #ifndef _BITS_SIGINFO_ARCH_H |
| 3 | #define _BITS_SIGINFO_ARCH_H 1 |
| 4 | |
| 5 | /* The kernel uses int instead of long int (as in POSIX). In 32-bit |
| 6 | mode, we can still use long int, but in 64-bit mode, we need to |
| 7 | deviate from POSIX. */ |
| 8 | #if __WORDSIZE == 64 |
| 9 | # define __SI_BAND_TYPE int |
| 10 | #endif |
| 11 | |
| 12 | #define __SI_SIGFAULT_ADDL \ |
| 13 | int _si_trapno; |
| 14 | |
| 15 | #define si_trapno	_sifields._sigfault._si_trapno |
| 16 | |
| 17 | #endif |