pci: fix build on ppc
authorDavid Christensen <drc@linux.vnet.ibm.com>
Mon, 16 Mar 2020 20:47:49 +0000 (13:47 -0700)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 17 Mar 2020 13:53:48 +0000 (14:53 +0100)
commit61669ecb921fff821db11d81557fa0449a7eb79c
treea8edfeb61ec8ef663bed02dcac18a970e711608b
parent034e7d87baab01631aeb260bb33682aa9c9ce674
pci: fix build on ppc

The include file rte_debug.h is pulled into x86 builds through the
following callchain:

lib/librte_eal/common/include/generic/rte_cycles.h:17,
lib/librte_eal/common/include/arch/x86/rte_cycles.h:13,
lib/librte_eal/common/include/arch/x86/rte_spinlock.h:18,
lib/librte_eal/common/include/arch/x86/rte_rwlock.h:13,

The PPC specific version of the same callchain does not include
rte_debug.h.  Add rte_debug.h back into the C files that require it.

Fixes: 0dcba5256287 ("pci: remove unneeded includes in public header file")
Cc: stable@dpdk.org
Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
Tested-by: David Wilder <dwilder@us.ibm.com>
Acked-by: David Marchand <david.marchand@redhat.com>
drivers/bus/ifpga/ifpga_bus.c
lib/librte_pci/rte_pci.c