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 #include "irq_user.h" 12 13 #define UM_IRQ_ALLOC -1 14 15 int um_request_irq(int irq, int fd, enum um_irq_type type, 16 irq_handler_t handler, unsigned long irqflags, 17 const char *devname, void *dev_id); 18 void um_free_irq(int irq, void *dev_id); 19 #endif 20