[dpdk-dev] [PATCH] kni: fix build for debian kernel 3.2

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Apr 30 01:39:12 CEST 2014


2014-04-29 10:23, Neil Horman:
> On Tue, Apr 29, 2014 at 04:16:03PM +0200, David Marchand wrote:
> > Following debian kernel headers upgrade to 3.2.57-3, pci capability
> > accessors have been backported (upstream commit
> > 8c0d3a02c1309eb6112d2e7c8172e8ceb26ecfca, ("PCI: Add accessors for PCI
> > Express Capability", v3.7-rc1)).
> > 
> > It results in the same compilation error as redhat 6.x.
> > However, there is no clear way to determine we are building on a debian
> > kernel. So, rather than determine if we are building on a distribution
> > kernel, look at PCI_EXP_LNKSTA2 that appeared in this upstream commit.
> > 
> > Signed-off-by: David Marchand <david.marchand at 6wind.com>
> 
> Acked-by: Neil Horman <nhorman at tuxdriver.com>

Applied for version 1.6.0r2.

Thanks
-- 
Thomas


More information about the dev mailing list