numam-dpdk/lib
Damjan Marion f243d9b04b eal/x86: fix clang build with -O0
Clang seems to have a bug with asm inside inline function rte_xabort():

rte_rtm.h:56:15: error: invalid operand for inline asm constraint 'i'
        asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory");
                     ^

It is seen only when building with EXTRA_CFLAGS=-O0.

The workaround is to replace the inline function by a macro.

Fixes: ba7468997e ("spinlock: add HTM lock elision for x86")

Signed-off-by: Damjan Marion <damarion@cisco.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-06-03 10:18:27 +02:00
..
librte_acl remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
librte_cfgfile cfgfile: fix uninitialized variable on load error 2016-05-02 15:15:46 +02:00
librte_cmdline cmdline: check initialization error 2016-05-19 14:40:12 +02:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev cryptodev: remove experimental label 2016-04-06 19:00:57 +02:00
librte_distributor distributor: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
librte_eal eal/x86: fix clang build with -O0 2016-06-03 10:18:27 +02:00
librte_ether ethdev: use dedicated macro to check port id 2016-05-24 15:30:08 +02:00
librte_hash hash: remove aliases for bulk lookup 2016-04-20 13:49:36 +02:00
librte_ip_frag eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
librte_ivshmem ivshmem: fix race condition 2016-04-01 15:36:32 +02:00
librte_jobstats jobstats: add abort function 2016-02-29 11:22:53 +01:00
librte_kni mempool: allocate in several memory chunks by default 2016-05-19 14:40:13 +02:00
librte_kvargs remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00
librte_lpm lpm6: fix possible garbage in lookup 2016-05-02 15:15:45 +02:00
librte_mbuf mbuf: add prefetch helpers 2016-05-24 11:21:14 +02:00
librte_mempool mempool: avoid division by zero 2016-05-24 11:09:31 +02:00
librte_meter mk: fix missing libm dependencies 2016-03-22 20:42:47 +01:00
librte_net net: fix build with gcc 4.4.7 and strict aliasing 2015-11-25 22:11:37 +01:00
librte_pipeline pipeline: add new functions for action handlers 2016-03-10 01:29:42 +01:00
librte_port port: bump ABI for pcap file support 2016-04-20 11:53:32 +02:00
librte_power power: fix error messages 2016-05-16 14:17:41 +02:00
librte_reorder reorder: allow random number as starting point 2015-06-22 22:20:12 +02:00
librte_ring mem: avoid memzone/mempool/ring name truncation 2016-05-19 14:40:14 +02:00
librte_sched eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
librte_table lpm: add a new config structure for IPv4 2016-03-09 23:05:05 +01:00
librte_timer timer: fix race condition 2015-08-03 12:43:01 +02:00
librte_vhost vhost: fix name not null terminated 2016-05-10 20:25:30 +02:00
Makefile mbuf_offload: remove library 2016-03-10 21:08:28 +01:00