2019-06-04 15:11:33 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2005-04-17 05:20:36 +07:00
|
|
|
/*
|
2008-08-02 16:55:55 +07:00
|
|
|
* arch/arm/include/asm/mach/irq.h
|
2005-04-17 05:20:36 +07:00
|
|
|
*
|
|
|
|
* Copyright (C) 1995-2000 Russell King.
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_MACH_IRQ_H
|
|
|
|
#define __ASM_ARM_MACH_IRQ_H
|
|
|
|
|
2006-07-02 04:30:09 +07:00
|
|
|
#include <linux/irq.h>
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2006-07-02 04:30:09 +07:00
|
|
|
struct seq_file;
|
2005-09-05 01:45:00 +07:00
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
/*
|
|
|
|
* This is internal. Do not use it.
|
|
|
|
*/
|
2012-06-28 13:42:08 +07:00
|
|
|
extern void init_FIQ(int);
|
2010-11-15 21:33:51 +07:00
|
|
|
extern int show_fiq_list(struct seq_file *, int);
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
/*
|
2006-07-02 04:30:09 +07:00
|
|
|
* This is for easy migration, but should be changed in the source
|
2005-04-17 05:20:36 +07:00
|
|
|
*/
|
2015-09-14 15:42:37 +07:00
|
|
|
#define do_bad_IRQ(desc) \
|
2006-07-02 04:30:09 +07:00
|
|
|
do { \
|
2009-11-17 22:46:45 +07:00
|
|
|
raw_spin_lock(&desc->lock); \
|
2015-09-14 15:42:37 +07:00
|
|
|
handle_bad_irq(desc); \
|
2009-11-17 22:46:45 +07:00
|
|
|
raw_spin_unlock(&desc->lock); \
|
2006-07-02 04:30:09 +07:00
|
|
|
} while(0)
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
#endif
|