signal.h 835 B

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