summaryrefslogtreecommitdiff
path: root/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'irq.h')
-rw-r--r--irq.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/irq.h b/irq.h
new file mode 100644
index 0000000..6c1c850
--- /dev/null
+++ b/irq.h
@@ -0,0 +1,10 @@
+#ifndef IRQ_H
+#define IRQ_H
+
+extern int device_irq_number(const char *ifname);
+extern int device_bind_irq_to_cpu(int irq, int cpu);
+extern void device_restore_irq_affinity_list(void);
+extern int device_set_irq_affinity_list(int irq, unsigned long from,
+ unsigned long to);
+
+#endif /* IRQ_H */