xref: /linux/arch/um/include/shared/irq_kern.h (revision fa7a0449e0ea6588f64c06a045ea8728280f3457)
18569c914SAl Viro /*
28569c914SAl Viro  * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
38569c914SAl Viro  * Licensed under the GPL
48569c914SAl Viro  */
58569c914SAl Viro 
68569c914SAl Viro #ifndef __IRQ_KERN_H__
78569c914SAl Viro #define __IRQ_KERN_H__
88569c914SAl Viro 
98569c914SAl Viro #include "linux/interrupt.h"
108569c914SAl Viro #include "asm/ptrace.h"
118569c914SAl Viro 
128569c914SAl Viro extern int um_request_irq(unsigned int irq, int fd, int type,
138569c914SAl Viro 			  irq_handler_t handler,
148569c914SAl Viro 			  unsigned long irqflags,  const char * devname,
158569c914SAl Viro 			  void *dev_id);
16*fa7a0449SRichard Weinberger void um_free_irq(unsigned int irq, void *dev);
178569c914SAl Viro #endif
188569c914SAl Viro 
19