From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] kni: fix build with kernel 4.11 Date: Thu, 30 Mar 2017 16:44:47 +0200 Message-ID: <2209858.k3RMxm9CbZ@xps13> References: <20170320112208.7941-1-ferruh.yigit@intel.com> <20170321095448.13772-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: Jerin Jacob , dev@dpdk.org, stable@dpdk.org To: Ferruh Yigit Return-path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id CFB8FD41C for ; Thu, 30 Mar 2017 16:44:49 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id x124so20057546wmf.0 for ; Thu, 30 Mar 2017 07:44:49 -0700 (PDT) In-Reply-To: <20170321095448.13772-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-03-21 09:54, Ferruh Yigit: > compile error: > .../build/build/lib/librte_eal/linuxapp/kni/kni_net.c:124:6: > error: implicit declaration of function =E2=80=98signal_pending=E2=80= =99 > [-Werror=3Dimplicit-function-declaration] > if (signal_pending(current) || ret_val <=3D 0) { > ^~~~~~~~~~~~~~ >=20 > Linux 4.11 moves signal function declarations to its own header file:= > Linux: 174cd4b1e5fb ("sched/headers: Prepare to move signal wakeup & > sigpending methods from into ")= >=20 > Use new header file "linux/sched/signal.h" to fix the build error. >=20 > Cc: stable@dpdk.org >=20 > Reported-by: Jerin Jacob > Signed-off-by: Ferruh Yigit > Tested-by: Jerin Jacob > Tested-by: Pankaj Gupta > --- > v2: > * update commit log User -> Use > * CC: stable and Thomas Applied, thanks