Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com) |
| 3 | * Licensed under the GPL |
| 4 | */ |
| 5 | |
| 6 | #ifndef __IRQ_KERN_H__ |
| 7 | #define __IRQ_KERN_H__ |
| 8 | |
| 9 | #include "linux/interrupt.h" |
Jeff Dike | 75e5584 | 2005-09-03 15:57:45 -0700 | [diff] [blame] | 10 | #include "asm/ptrace.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | extern int um_request_irq(unsigned int irq, int fd, int type, |
David Howells | 40220c1 | 2006-10-09 12:19:47 +0100 | [diff] [blame] | 13 | irq_handler_t handler, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | unsigned long irqflags, const char * devname, |
| 15 | void *dev_id); |
Jeff Dike | 75e5584 | 2005-09-03 15:57:45 -0700 | [diff] [blame] | 16 | extern int init_aio_irq(int irq, char *name, |
David Howells | 40220c1 | 2006-10-09 12:19:47 +0100 | [diff] [blame] | 17 | irq_handler_t handler); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
| 19 | #endif |
| 20 | |
| 21 | /* |
| 22 | * Overrides for Emacs so that we follow Linus's tabbing style. |
| 23 | * Emacs will notice this stuff at the end of the file and automatically |
| 24 | * adjust the settings for this buffer only. This must remain at the end |
| 25 | * of the file. |
| 26 | * --------------------------------------------------------------------------- |
| 27 | * Local variables: |
| 28 | * c-file-style: "linux" |
| 29 | * End: |
| 30 | */ |