aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/irq_user.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/irq_user.h')
-rw-r--r--arch/um/include/irq_user.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/um/include/irq_user.h b/arch/um/include/irq_user.h
index 69a93c804f0e..09e9e38920d5 100644
--- a/arch/um/include/irq_user.h
+++ b/arch/um/include/irq_user.h
@@ -6,6 +6,8 @@
6#ifndef __IRQ_USER_H__ 6#ifndef __IRQ_USER_H__
7#define __IRQ_USER_H__ 7#define __IRQ_USER_H__
8 8
9#include "uml-config.h"
10
9struct irq_fd { 11struct irq_fd {
10 struct irq_fd *next; 12 struct irq_fd *next;
11 void *id; 13 void *id;
@@ -26,9 +28,12 @@ extern void free_irq_by_fd(int fd);
26extern void reactivate_fd(int fd, int irqnum); 28extern void reactivate_fd(int fd, int irqnum);
27extern void deactivate_fd(int fd, int irqnum); 29extern void deactivate_fd(int fd, int irqnum);
28extern int deactivate_all_fds(void); 30extern int deactivate_all_fds(void);
29extern void forward_interrupts(int pid);
30extern int activate_ipi(int fd, int pid); 31extern int activate_ipi(int fd, int pid);
31extern unsigned long irq_lock(void); 32extern unsigned long irq_lock(void);
32extern void irq_unlock(unsigned long flags); 33extern void irq_unlock(unsigned long flags);
33 34
35#ifdef CONFIG_MODE_TT
36extern void forward_interrupts(int pid);
37#endif
38
34#endif 39#endif