Loading...
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * arch/arm/include/asm/mach/irq.h
4 *
5 * Copyright (C) 1995-2000 Russell King.
6 */
7#ifndef __ASM_ARM_MACH_IRQ_H
8#define __ASM_ARM_MACH_IRQ_H
9
10#include <linux/irq.h>
11
12struct seq_file;
13
14/*
15 * This is internal. Do not use it.
16 */
17extern void init_FIQ(int);
18extern int show_fiq_list(struct seq_file *, int);
19
20/*
21 * This is for easy migration, but should be changed in the source
22 */
23#define do_bad_IRQ(desc) \
24do { \
25 raw_spin_lock(&desc->lock); \
26 handle_bad_irq(desc); \
27 raw_spin_unlock(&desc->lock); \
28} while(0)
29
30#endif
1/*
2 * arch/arm/include/asm/mach/irq.h
3 *
4 * Copyright (C) 1995-2000 Russell King.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_ARM_MACH_IRQ_H
11#define __ASM_ARM_MACH_IRQ_H
12
13#include <linux/irq.h>
14
15struct seq_file;
16
17/*
18 * This is internal. Do not use it.
19 */
20extern void init_FIQ(int);
21extern int show_fiq_list(struct seq_file *, int);
22
23/*
24 * This is for easy migration, but should be changed in the source
25 */
26#define do_bad_IRQ(desc) \
27do { \
28 raw_spin_lock(&desc->lock); \
29 handle_bad_irq(desc); \
30 raw_spin_unlock(&desc->lock); \
31} while(0)
32
33#endif