siginfo.h 571 B

12345678910111213141516171819202122
  1. #ifndef _ASM_POWERPC_SIGINFO_H
  2. #define _ASM_POWERPC_SIGINFO_H
  3. /*
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version
  7. * 2 of the License, or (at your option) any later version.
  8. */
  9. #ifdef __powerpc64__
  10. # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
  11. # define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3)
  12. #endif
  13. #include <asm-generic/siginfo.h>
  14. #undef NSIGTRAP
  15. #define NSIGTRAP 4
  16. #endif /* _ASM_POWERPC_SIGINFO_H */