diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-03 22:49:19 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-03 22:52:33 +0200 |
commit | dc5f7a04f2b446b5224be356c2fc79e88a5d3e8f (patch) | |
tree | 1bde4c8eea045e789ea797117e7ab3b84aac7117 /irq.h | |
parent | 0bc86fe938e8f6d12aca41a283491f51729d5c62 (diff) |
irq: break out from xutils and save + restore
Break out IRQ functionality from xutils, simplify it, and
save + restore IRQ affinity list.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'irq.h')
-rw-r--r-- | irq.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 */ |