From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755521AbbFROkB (ORCPT ); Thu, 18 Jun 2015 10:40:01 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49103 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755313AbbFROj7 (ORCPT ); Thu, 18 Jun 2015 10:39:59 -0400 Date: Thu, 18 Jun 2015 07:39:58 -0700 From: Greg Kroah-Hartman To: Sudip Mukherjee Cc: David Howells , Ulf Hansson , Matthias Brugger , Johan Hovold , linux-am33-list@redhat.com, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v2 5/7] samples: kdbus: disable for mn10300 Message-ID: <20150618143958.GA8830@kroah.com> References: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> <1434629873-11668-6-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434629873-11668-6-git-send-email-sudipm.mukherjee@gmail.com> User-Agent: Mutt/1.5.23+89 (0255b37be491) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 18, 2015 at 05:47:51PM +0530, Sudip Mukherjee wrote: > While building it failed with: > In function 'prime_new': > error: '__NR_memfd_create' undeclared (first use in this function) > > memfd_create syscall has not yet been implemented for mn10300. > so disable compilation of samples/kdbus for now with mn10300. > > Signed-off-by: Sudip Mukherjee > --- > samples/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/samples/Kconfig b/samples/Kconfig > index a4c6b2f..20c55af 100644 > --- a/samples/Kconfig > +++ b/samples/Kconfig > @@ -57,7 +57,7 @@ config SAMPLE_KDB > > config SAMPLE_KDBUS > bool "Build kdbus API example" > - depends on KDBUS > + depends on KDBUS && !MN10300 Why not just add the memfd syscall to this arch? I thought someone had already sent such a patch in a while ago. thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregkh@linuxfoundation.org (Greg Kroah-Hartman) Date: Thu, 18 Jun 2015 07:39:58 -0700 Subject: [PATCH v2 5/7] samples: kdbus: disable for mn10300 In-Reply-To: <1434629873-11668-6-git-send-email-sudipm.mukherjee@gmail.com> References: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> <1434629873-11668-6-git-send-email-sudipm.mukherjee@gmail.com> Message-ID: <20150618143958.GA8830@kroah.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Jun 18, 2015 at 05:47:51PM +0530, Sudip Mukherjee wrote: > While building it failed with: > In function 'prime_new': > error: '__NR_memfd_create' undeclared (first use in this function) > > memfd_create syscall has not yet been implemented for mn10300. > so disable compilation of samples/kdbus for now with mn10300. > > Signed-off-by: Sudip Mukherjee > --- > samples/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/samples/Kconfig b/samples/Kconfig > index a4c6b2f..20c55af 100644 > --- a/samples/Kconfig > +++ b/samples/Kconfig > @@ -57,7 +57,7 @@ config SAMPLE_KDB > > config SAMPLE_KDBUS > bool "Build kdbus API example" > - depends on KDBUS > + depends on KDBUS && !MN10300 Why not just add the memfd syscall to this arch? I thought someone had already sent such a patch in a while ago. thanks, greg k-h