1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12 #ifndef __ASM_SH_IRQ_H 13 #define __ASM_SH_IRQ_H 14 15 #include <asm/machvec.h> 16 17 #define NR_IRQS 256 18 19 #define evt2irq(evt) (((evt) >> 5) - 16) 20 #define irq2evt(irq) (((irq) + 16) << 5) 21 22 #define irq_canonicalize(irq) (irq) 23 #define irq_demux(irq) sh_mv.mv_irq_demux(irq) 24 #define irq_ctx_init(cpu) do { } while (0) 25 #define irq_ctx_exit(cpu) do { } while (0) 26 #endif 27