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, |
| 13 | irqreturn_t (*handler)(int, void *, |
| 14 | struct pt_regs *), |
| 15 | unsigned long irqflags, const char * devname, |
| 16 | void *dev_id); |
Jeff Dike | 75e5584 | 2005-09-03 15:57:45 -0700 | [diff] [blame] | 17 | extern int init_aio_irq(int irq, char *name, |
| 18 | irqreturn_t (*handler)(int, void *, struct pt_regs *)); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
| 20 | #endif |
| 21 | |
| 22 | /* |
| 23 | * Overrides for Emacs so that we follow Linus's tabbing style. |
| 24 | * Emacs will notice this stuff at the end of the file and automatically |
| 25 | * adjust the settings for this buffer only. This must remain at the end |
| 26 | * of the file. |
| 27 | * --------------------------------------------------------------------------- |
| 28 | * Local variables: |
| 29 | * c-file-style: "linux" |
| 30 | * End: |
| 31 | */ |