numam-dpdk/kernel
Thomas Monjalon c6c36fe28a kni: fix build on Linux < 3.14
The atomic functions smp_load_acquire() and smp_store_release()
were introduced in Linux 3.14. Older kernels miss the functions:

kni_fifo.h:19:2: error:
	implicit declaration of function ‘smp_load_acquire’
kni_fifo.h:30:2: error:
	implicit declaration of function ‘smp_store_release’

The fallback is to drop the atomic barrier, as it was before
the commit below.

Fixes: 711859cd0d ("kni: fix kernel FIFO synchronization")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2018-10-27 00:18:06 +02:00
..
freebsd build: clean up building kernel modules using meson 2018-04-17 16:09:43 +02:00
linux kni: fix build on Linux < 3.14 2018-10-27 00:18:06 +02:00
Makefile
meson.build build: clean up building kernel modules using meson 2018-04-17 16:09:43 +02:00