From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: fix build for debian kernel 3.2 Date: Wed, 30 Apr 2014 01:39:12 +0200 Message-ID: <17728233.4kuYkZQCef@xps13> References: <1398780963-3694-1-git-send-email-david.marchand@6wind.com> <20140429142344.GB14945@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: David Marchand Return-path: In-Reply-To: <20140429142344.GB14945-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 > > Acked-by: Neil Horman Applied for version 1.6.0r2. Thanks -- Thomas