1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
9 #include <linux/interrupt.h>
10 #include <asm/ptrace.h>
13 #define UM_IRQ_ALLOC -1
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
);