1*f2f4bf5aSAlex Dewar /* SPDX-License-Identifier: GPL-2.0 */ 28569c914SAl Viro /* 38569c914SAl Viro * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com) 48569c914SAl Viro */ 58569c914SAl Viro 68569c914SAl Viro #ifndef __IRQ_KERN_H__ 78569c914SAl Viro #define __IRQ_KERN_H__ 88569c914SAl Viro 937185b33SAl Viro #include <linux/interrupt.h> 1037185b33SAl 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