/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SH_IRQ_H #define __ASM_SH_IRQ_H #include <linux/cpumask.h> #include <asm/machvec.h> /* * Only legacy non-sparseirq platforms have to set a reasonably sane * value here. sparseirq platforms allocate their irq_descs on the fly, * so will expand automatically based on the number of registered IRQs. */ #ifdef CONFIG_SPARSE_IRQ # define NR_IRQS 8 #else # define NR_IRQS 512 #endif /* * This is a special IRQ number for indicating that no IRQ has been * triggered and to simply ignore the IRQ dispatch. This is a special * case that can happen with IRQ auto-distribution when multiple CPUs * are woken up and signalled in parallel. */ #define NO_IRQ_IGNORE ((unsigned int)-1) /* * Simple Mask Register Support */ extern void make_maskreg_irq(unsigned int irq); extern unsigned short *irq_mask_register; /* * PINT IRQs */ void init_IRQ_pint(void); void make_imask_irq(unsigned int irq);
static inline int generic_irq_demux(int irq) { return irq; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 10 | 76.92% | 1 | 33.33% |
Andrew Morton | 2 | 15.38% | 1 | 33.33% |
Linus Torvalds | 1 | 7.69% | 1 | 33.33% |
Total | 13 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Paul Mundt | 173 | 84.39% | 12 | 66.67% |
Linus Torvalds (pre-git) | 28 | 13.66% | 3 | 16.67% |
Andrew Morton | 2 | 0.98% | 1 | 5.56% |
Greg Kroah-Hartman | 1 | 0.49% | 1 | 5.56% |
Linus Torvalds | 1 | 0.49% | 1 | 5.56% |
Total | 205 | 100.00% | 18 | 100.00% |