1f2f4bf5aSAlex 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 12*36d46a59SJohannes Berg #define UM_IRQ_ALLOC -1 13*36d46a59SJohannes Berg 14*36d46a59SJohannes Berg int um_request_irq(int irq, int fd, int type, irq_handler_t handler, 158569c914SAl Viro unsigned long irqflags, const char * devname, 168569c914SAl Viro void *dev_id); 17*36d46a59SJohannes Berg void um_free_irq(int irq, void *dev_id); 188569c914SAl Viro #endif 19