2019-08-25 10:49:19 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2005-04-16 15:20:36 -07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IRQ_KERN_H__
|
|
|
|
#define __IRQ_KERN_H__
|
|
|
|
|
2012-10-08 03:27:32 +01:00
|
|
|
#include <linux/interrupt.h>
|
|
|
|
#include <asm/ptrace.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
extern int um_request_irq(unsigned int irq, int fd, int type,
|
2006-10-09 12:19:47 +01:00
|
|
|
irq_handler_t handler,
|
2005-04-16 15:20:36 -07:00
|
|
|
unsigned long irqflags, const char * devname,
|
|
|
|
void *dev_id);
|
2012-04-17 22:37:13 +02:00
|
|
|
void um_free_irq(unsigned int irq, void *dev);
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif
|
|
|
|
|