xref: /openbmc/linux/arch/um/include/shared/irq_kern.h (revision 37185b33240870719b6b5913a46e6a441f1ae96f)
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 
9*37185b33SAl Viro #include <linux/interrupt.h>
10*37185b33SAl 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);
16fa7a0449SRichard Weinberger void um_free_irq(unsigned int irq, void *dev);
178569c914SAl Viro #endif
188569c914SAl Viro 
19