3063-arm64-add-NO_IRQ-macro.patch 681 B

123456789101112131415161718192021222324252627
  1. From 9417a4b5978a7c38ae1dee217c3b22cda8e94731 Mon Sep 17 00:00:00 2001
  2. From: Mingkai Hu <Mingkai.Hu@freescale.com>
  3. Date: Thu, 19 Nov 2015 15:25:37 +0800
  4. Subject: [PATCH 63/70] arm64: add NO_IRQ macro
  5. Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
  6. ---
  7. arch/arm64/include/asm/irq.h | 8 ++++++++
  8. 1 file changed, 8 insertions(+)
  9. --- a/arch/arm64/include/asm/irq.h
  10. +++ b/arch/arm64/include/asm/irq.h
  11. @@ -3,6 +3,14 @@
  12. #include <asm-generic/irq.h>
  13. +/*
  14. + * Use this value to indicate lack of interrupt
  15. + * capability
  16. + */
  17. +#ifndef NO_IRQ
  18. +#define NO_IRQ ((unsigned int)(-1))
  19. +#endif
  20. +
  21. struct pt_regs;
  22. extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));