mempool: use GCC push/pop_options
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 7 Mar 2014 18:13:39 +0000 (10:13 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 24 Mar 2014 17:58:25 +0000 (18:58 +0100)
commit4cf4c837dba86c0c0f9e9c7ac75e9c79f984eea3
treeba61d71693c801c9b3aa84b193368cf5d5a1cacd
parent2d32fef70bf35238a7f175d5aa47c05d1a1267f2
mempool: use GCC push/pop_options

The include file should not change the GCC compile options for
the whole file being compiled, but only for the one inline function
that needs it. Using the push_options/pop_options fixes this.

Signed-off-by: Stephen Hemminger <shemming@brocade.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_mempool/rte_mempool.h