]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/include/asm/mach/irq.h
genirq: Convert irq_desc.lock to raw_spinlock
[net-next-2.6.git] / arch / arm / include / asm / mach / irq.h
CommitLineData
1da177e4 1/*
4baa9922 2 * arch/arm/include/asm/mach/irq.h
1da177e4
LT
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
4a2581a0 13#include <linux/irq.h>
1da177e4 14
4a2581a0 15struct seq_file;
664399e1 16
1da177e4
LT
17/*
18 * This is internal. Do not use it.
19 */
20extern void (*init_arch_irq)(void);
21extern void init_FIQ(void);
22extern int show_fiq_list(struct seq_file *, void *);
1da177e4 23
1da177e4 24/*
4a2581a0 25 * This is for easy migration, but should be changed in the source
1da177e4 26 */
0cd61b68 27#define do_bad_IRQ(irq,desc) \
4a2581a0 28do { \
239007b8 29 raw_spin_lock(&desc->lock); \
0cd61b68 30 handle_bad_irq(irq, desc); \
239007b8 31 raw_spin_unlock(&desc->lock); \
4a2581a0
TG
32} while(0)
33
1da177e4 34#endif