irq_kern.h 872 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __IRQ_KERN_H__
  6. #define __IRQ_KERN_H__
  7. #include "linux/interrupt.h"
  8. #include "asm/ptrace.h"
  9. extern int um_request_irq(unsigned int irq, int fd, int type,
  10. irqreturn_t (*handler)(int, void *,
  11. struct pt_regs *),
  12. unsigned long irqflags, const char * devname,
  13. void *dev_id);
  14. extern int init_aio_irq(int irq, char *name,
  15. irqreturn_t (*handler)(int, void *, struct pt_regs *));
  16. #endif
  17. /*
  18. * Overrides for Emacs so that we follow Linus's tabbing style.
  19. * Emacs will notice this stuff at the end of the file and automatically
  20. * adjust the settings for this buffer only. This must remain at the end
  21. * of the file.
  22. * ---------------------------------------------------------------------------
  23. * Local variables:
  24. * c-file-style: "linux"
  25. * End:
  26. */