irq.h (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) | irq.h (cd1a41ceba8a4caef4d18a3a14d6d0f8c656efe4) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_SH_IRQ_H 3#define __ASM_SH_IRQ_H 4 5#include <linux/cpumask.h> 6#include <asm/machvec.h> 7 8/* --- 37 unchanged lines hidden (view full) --- 46void init_IRQ(void); 47void migrate_irqs(void); 48 49asmlinkage int do_IRQ(unsigned int irq, struct pt_regs *regs); 50 51#ifdef CONFIG_IRQSTACKS 52extern void irq_ctx_init(int cpu); 53extern void irq_ctx_exit(int cpu); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_SH_IRQ_H 3#define __ASM_SH_IRQ_H 4 5#include <linux/cpumask.h> 6#include <asm/machvec.h> 7 8/* --- 37 unchanged lines hidden (view full) --- 46void init_IRQ(void); 47void migrate_irqs(void); 48 49asmlinkage int do_IRQ(unsigned int irq, struct pt_regs *regs); 50 51#ifdef CONFIG_IRQSTACKS 52extern void irq_ctx_init(int cpu); 53extern void irq_ctx_exit(int cpu); |
54# define __ARCH_HAS_DO_SOFTIRQ | |
55#else 56# define irq_ctx_init(cpu) do { } while (0) 57# define irq_ctx_exit(cpu) do { } while (0) 58#endif 59 60#ifdef CONFIG_INTC_BALANCING 61extern unsigned int irq_lookup(unsigned int irq); 62extern void irq_finish(unsigned int irq); 63#else 64#define irq_lookup(irq) (irq) 65#define irq_finish(irq) do { } while (0) 66#endif 67 68#include <asm-generic/irq.h> 69 70#endif /* __ASM_SH_IRQ_H */ | 54#else 55# define irq_ctx_init(cpu) do { } while (0) 56# define irq_ctx_exit(cpu) do { } while (0) 57#endif 58 59#ifdef CONFIG_INTC_BALANCING 60extern unsigned int irq_lookup(unsigned int irq); 61extern void irq_finish(unsigned int irq); 62#else 63#define irq_lookup(irq) (irq) 64#define irq_finish(irq) do { } while (0) 65#endif 66 67#include <asm-generic/irq.h> 68 69#endif /* __ASM_SH_IRQ_H */ |