signal.h 796 B

12345678910111213141516171819202122232425262728
  1. #ifndef __SPARC_SIGNAL_H
  2. #define __SPARC_SIGNAL_H
  3. #ifndef __ASSEMBLY__
  4. #include <linux/personality.h>
  5. #include <linux/types.h>
  6. #endif
  7. #include <uapi/asm/signal.h>
  8. #ifndef __ASSEMBLY__
  9. /*
  10. * DJHR
  11. * SA_STATIC_ALLOC is used for the sparc32 system to indicate that this
  12. * interrupt handler's irq structure should be statically allocated
  13. * by the request_irq routine.
  14. * The alternative is that arch/sparc/kernel/irq.c has carnal knowledge
  15. * of interrupt usage and that sucks. Also without a flag like this
  16. * it may be possible for the free_irq routine to attempt to free
  17. * statically allocated data.. which is NOT GOOD.
  18. *
  19. */
  20. #define SA_STATIC_ALLOC 0x8000
  21. #define __ARCH_HAS_KA_RESTORER
  22. #define __ARCH_HAS_SA_RESTORER
  23. #endif /* !(__ASSEMBLY__) */
  24. #endif /* !(__SPARC_SIGNAL_H) */