summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-03 22:49:19 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-03 22:52:33 +0200
commitdc5f7a04f2b446b5224be356c2fc79e88a5d3e8f (patch)
tree1bde4c8eea045e789ea797117e7ab3b84aac7117 /trafgen.c
parent0bc86fe938e8f6d12aca41a283491f51729d5c62 (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 'trafgen.c')
-rw-r--r--trafgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trafgen.c b/trafgen.c
index bbce64c..d493614 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -37,6 +37,7 @@
#include "mac80211.h"
#include "xutils.h"
#include "xio.h"
+#include "irq.h"
#include "built_in.h"
#include "trafgen_conf.h"
#include "tprintf.h"
@@ -1083,6 +1084,7 @@ int main(int argc, char **argv)
thread_out:
xunlockme();
destroy_shared_var(stats, ctx.cpus);
+ device_restore_irq_affinity_list();
free(ctx.device);
free(ctx.device_trans);