numam-dpdk/drivers/bus
Thomas Monjalon 204a7f44bc bus/pci: support I/O port operations with musl
Add a fallback for non-GNU libc systems like musl libc for the
non-standard functions outl_p, outw_p and outb_p.

It solves the following errors when building with musl libc:
	pci_uio.c: undefined reference to 'outw_p'
	pci_uio.c: undefined reference to 'outl_p'
	pci_uio.c: undefined reference to 'outb_p'

Bugzilla ID: 35
Fixes: 756ce64b1e ("eal: introduce PCI ioport API")
Cc: stable@dpdk.org

Reported-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: David Marchand <david.marchand@redhat.com>
2021-03-23 08:41:05 +01:00
..
dpaa bus/dpaa: fix build with musl 2021-03-23 08:41:05 +01:00
fslmc build: remove redundant _GNU_SOURCE definitions 2021-03-23 08:41:05 +01:00
ifpga drivers: add headers install helper 2020-10-22 14:16:22 +02:00
pci bus/pci: support I/O port operations with musl 2021-03-23 08:41:05 +01:00
vdev bus/vdev: add driver IOVA VA mode requirement 2021-01-29 18:16:09 +01:00
vmbus drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
meson.build config: remove compatibility build defines 2021-01-20 01:43:25 +01:00