signal.h 888 B

123456789101112131415161718192021222324252627282930313233
  1. /* MN10300 Signal definitions
  2. *
  3. * Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
  4. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public Licence
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the Licence, or (at your option) any later version.
  10. */
  11. #ifndef _ASM_SIGNAL_H
  12. #define _ASM_SIGNAL_H
  13. #include <uapi/asm/signal.h>
  14. /* Most things should be clean enough to redefine this at will, if care
  15. is taken to make libc match. */
  16. #define _NSIG 64
  17. #define _NSIG_BPW 32
  18. #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
  19. typedef unsigned long old_sigset_t; /* at least 32 bits */
  20. typedef struct {
  21. unsigned long sig[_NSIG_WORDS];
  22. } sigset_t;
  23. #define __ARCH_HAS_SA_RESTORER
  24. #include <asm/sigcontext.h>
  25. #endif /* _ASM_SIGNAL_H */