Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * Copyright (C) 2000, 2001, 2002 by Ralf Baechle |
| 7 | */ |
| 8 | #ifndef __ASM_HW_IRQ_H |
| 9 | #define __ASM_HW_IRQ_H |
| 10 | |
| 11 | #include <linux/profile.h> |
| 12 | #include <asm/atomic.h> |
| 13 | |
| 14 | extern void disable_8259A_irq(unsigned int irq); |
| 15 | extern void enable_8259A_irq(unsigned int irq); |
| 16 | extern int i8259A_irq_pending(unsigned int irq); |
| 17 | extern void make_8259A_irq(unsigned int irq); |
| 18 | extern void init_8259A(int aeoi); |
| 19 | |
| 20 | extern atomic_t irq_err_count; |
| 21 | |
Ingo Molnar | c0ad90a | 2006-06-29 02:24:44 -0700 | [diff] [blame] | 22 | /* |
| 23 | * interrupt-retrigger: NOP for now. This may not be apropriate for all |
| 24 | * machines, we'll see ... |
| 25 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
| 27 | #endif /* __ASM_HW_IRQ_H */ |