signal.h 615 B

1234567891011121314151617181920212223242526
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 1995, 96, 97, 98, 99, 2003 by Ralf Baechle
  7. * Copyright (C) 1999 Silicon Graphics, Inc.
  8. */
  9. #ifndef _ASM_SIGNAL_H
  10. #define _ASM_SIGNAL_H
  11. #include <uapi/asm/signal.h>
  12. #ifdef CONFIG_TRAD_SIGNALS
  13. #define sig_uses_siginfo(ka) ((ka)->sa.sa_flags & SA_SIGINFO)
  14. #else
  15. #define sig_uses_siginfo(ka) (1)
  16. #endif
  17. #include <asm/sigcontext.h>
  18. #include <asm/siginfo.h>
  19. #define __ARCH_HAS_ODD_SIGACTION
  20. #endif /* _ASM_SIGNAL_H */