Pavan Nikhilesh 7bdccb9307 eal: fix ARM build with clang
Use __atomic_exchange_n instead of __atomic_exchange_(2/4/8).

The error was:
	include/generic/rte_atomic.h:215:9: error:
		implicit declaration of function '__atomic_exchange_2'
		is invalid in C99
	include/generic/rte_atomic.h:494:9: error:
		implicit declaration of function '__atomic_exchange_4'
		is invalid in C99
	include/generic/rte_atomic.h:772:9: error:
		implicit declaration of function '__atomic_exchange_8'
		is invalid in C99

Fixes: ff2863570fcc ("eal: introduce atomic exchange operation")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
2018-04-11 22:39:50 +02:00
..
2018-04-11 22:39:50 +02:00
2018-02-01 01:03:26 +01:00
2018-04-04 17:34:20 +02:00
2018-04-11 01:47:47 +02:00
2018-04-04 17:33:08 +02:00
2018-01-31 15:35:56 +01:00
2018-01-31 15:35:01 +01:00
2018-01-30 21:59:00 +01:00