eal: allow passing const interrupt handle
authorJan Blunck <jblunck@infradead.org>
Fri, 23 Dec 2016 15:57:53 +0000 (16:57 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 24 Dec 2016 17:45:50 +0000 (18:45 +0100)
commitbb30369dc103dd2f0214737b413c86c415bf9e92
tree62158ddd811ef5b60d2668bf0344c7039ef40f87
parent9b815f2141deba07bbfe0b275bb4665c6a275097
eal: allow passing const interrupt handle

Both register/unregister and enable/disable don't necessarily require the
rte_intr_handle to be modifiable. Therefore lets constify it.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
lib/librte_eal/bsdapp/eal/eal_interrupts.c
lib/librte_eal/common/include/rte_interrupts.h
lib/librte_eal/linuxapp/eal/eal_interrupts.c