eal/linux: use libc malloc in interrupt handling
authorJianfeng Tan <jianfeng.tan@intel.com>
Tue, 26 Jun 2018 10:53:13 +0000 (11:53 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 10:40:25 +0000 (12:40 +0200)
commit4bb69970afd7dd819d5c70f423bac48efe81739c
treee2dc5d4f2134c1d7d2fb4091e59476855bb6bd2d
parent204df26c1b276d4210bf0594da4ac88fc8cd9210
eal/linux: use libc malloc in interrupt handling

IPC uses interrupts API internally, and memory subsystem uses IPC.
Therefore, IPC should not use rte_malloc to avoid circular dependency.
Switch to using regular glibc malloc in interrupts API.

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/linuxapp/eal/eal_interrupts.c