xref: /kernel/linux/linux-5.10/arch/arm/include/asm/mach/irq.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/arm/include/asm/mach/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  arch/arm/include/asm/mach/irq.h
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Copyright (C) 1995-2000 Russell King.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#ifndef __ASM_ARM_MACH_IRQ_H
88c2ecf20Sopenharmony_ci#define __ASM_ARM_MACH_IRQ_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <linux/irq.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cistruct seq_file;
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/*
158c2ecf20Sopenharmony_ci * This is internal.  Do not use it.
168c2ecf20Sopenharmony_ci */
178c2ecf20Sopenharmony_ciextern void init_FIQ(int);
188c2ecf20Sopenharmony_ciextern int show_fiq_list(struct seq_file *, int);
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci/*
218c2ecf20Sopenharmony_ci * This is for easy migration, but should be changed in the source
228c2ecf20Sopenharmony_ci */
238c2ecf20Sopenharmony_ci#define do_bad_IRQ(desc)				\
248c2ecf20Sopenharmony_cido {							\
258c2ecf20Sopenharmony_ci	raw_spin_lock(&desc->lock);			\
268c2ecf20Sopenharmony_ci	handle_bad_irq(desc);				\
278c2ecf20Sopenharmony_ci	raw_spin_unlock(&desc->lock);			\
288c2ecf20Sopenharmony_ci} while(0)
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci#endif
31

Indexes created Thu Nov 07 10:32:03 CST 2024