1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com) 4 */ 5 6 #ifndef __IRQ_KERN_H__ 7 #define __IRQ_KERN_H__ 8 9 #include <linux/interrupt.h> 10 #include <asm/ptrace.h> 11 12 extern int um_request_irq(unsigned int irq, int fd, int type, 13 irq_handler_t handler, 14 unsigned long irqflags, const char * devname, 15 void *dev_id); 16 void um_free_irq(unsigned int irq, void *dev); 17 #endif 18 19