Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp845991imu; Thu, 3 Jan 2019 08:08:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uqj1xKhpKoo8yMf6nWfcFia4W2T0cv5/gGMGQQiA2B4yPIc+YFl4LuqYWof0vatNrliZZ0 X-Received: by 2002:a62:442:: with SMTP id 63mr47963097pfe.156.1546531733715; Thu, 03 Jan 2019 08:08:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546531733; cv=none; d=google.com; s=arc-20160816; b=UoAtnRyrh5/M9fBOdag9v6Jd0LGyxmAhpn4ib271f1eHT94/EwZm8fOz8h2WDgp0G3 qkewg6lKeTR50BhGUiFL/8rkqgiNHmbZ3PdMGHs8k13HlzVQoITMebbcikcPkJD/Pnu+ dX45mUrF2DNVmdjj1kWpnFb3xEL1qrqkEpkjsKj6eZO0J9VTp3Zp4MvFjxOd28TFAsWg V/rGplt5rDGISFhhBtgFkhIUAVAUrU+DZvVwQ8Uz6K8pMgTIY+Of7cuvXoPVA8oROdDn lpcpKJv2OfAlLxrEjoqStpk6wiDwfizKgFVkdIKWyQfvYyN7cbjexHinQowPAYiLuyAT 8C0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6ZAv3KF7D6pjptcmCqrR1CLN2p/a/tM8QZcjz7U5zmU=; b=Rbe2In9uObfI02YP3OHwC2zwd3zQyWazOMEfbHT6WUlbmLNscUuB3f37oigmDoQxH4 kZ4LNzzO7mszHx0v2OUNvMAcTv+WlwdRrmqqbghlwPNt/QxCrlK8fBh6ovPIFoq56Eld qAjuQUbiEbPMA57rPh3akhaI737sFqHtNAfDC84tNPPGMb5jX+fcA/CnJqjAggrlCogg 7SJxS5i4rhiYpdU+Cneh/HOOvT+UIgSpCON2bLagaqXrlneuLIXRM8QWIi4D73EgsYjF N5hx+t0bLndaeDfM0+v1Mzsj+8TxXtQocpMZX7G8pvKSmu+9Li6vjjmmvXimGpPYSDc7 cKfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=br0r8KL8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w19si37275624pgf.573.2019.01.03.08.08.37; Thu, 03 Jan 2019 08:08:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=br0r8KL8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729754AbfACMA7 (ORCPT + 99 others); Thu, 3 Jan 2019 07:00:59 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:34612 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730321AbfACMA6 (ORCPT ); Thu, 3 Jan 2019 07:00:58 -0500 Received: by mail-io1-f66.google.com with SMTP id b16so7165210ior.1 for ; Thu, 03 Jan 2019 04:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6ZAv3KF7D6pjptcmCqrR1CLN2p/a/tM8QZcjz7U5zmU=; b=br0r8KL8Le7ZPgZWrNbd/ojlTnb1umMiJuhRL8bDiKlOWtfSHMyvepBD0E+bNNzsUr V5jfdS91C60aV3rcVeEz7A1aynorycaaY1oEl7n3yeIeAvmghAOyuTQZKtf3uA5Qbrif 9kbK61pGZoarv1GSyt9NHAz8xtSnh8olxvoVk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6ZAv3KF7D6pjptcmCqrR1CLN2p/a/tM8QZcjz7U5zmU=; b=IWdl8jxStHzpNFH4rFYqEv7LsHeZg6O5SCxl94E1R0gHc/wx4dbTc0rH4mKpSoxmm5 g1kG+oUb3ofTMnlsrK7r21SfdZUX0blOtv0Zz3c1RQqJIt0zwOEhVpCS9ObFAkBYdVbN LO3SONi5R8eoV714sWrcrEoONv46vsdmwfqLuCVGC6y6rcP4g95DHaCa4ma/u91+nWW4 E+SrIbrPBpZAzMcCu3WqROwrYqbAi8tj7mOoNNzq1lPVE0RJYh3GWaa6IZc90nmwx3Yy CGetgqnzU23xMuUQII1GTXKvDPTvjgMzE0uIPB+XRV+Xp2GvCbLCpFSAShO75FwefBjR c/Xw== X-Gm-Message-State: AJcUukfTgvyE2R1TUS8vH+r88fhYT8gz+Ub+6QNnLgPlT8M70c9qkHb1 GqdwZsItl8vBeiVevwPULOnh0yC0RG7/CqYTSziHzQ== X-Received: by 2002:a6b:8f8d:: with SMTP id r135mr33147073iod.5.1546516857378; Thu, 03 Jan 2019 04:00:57 -0800 (PST) MIME-Version: 1.0 References: <1546442319-20461-1-git-send-email-firoz.khan@linaro.org> <1546442319-20461-3-git-send-email-firoz.khan@linaro.org> In-Reply-To: From: Firoz Khan Date: Thu, 3 Jan 2019 17:30:46 +0530 Message-ID: Subject: Re: [PATCH 2/2] m68k: generate uapi header and syscall table header files To: Geert Uytterhoeven Cc: linux-m68k , Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , Linux-Arch , Arnd Bergmann , Deepa Dinamani , Marcin Juszkiewicz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, Thanks for your feedback! On Thu, 3 Jan 2019 at 17:13, Geert Uytterhoeven wrote: > > The generated uapi header file will be included in uapi/- > > asm/unistd.h and generated system call table header file > > will be included by kernel/syscalltable.S file. > > This doesn't really describe what this patch is doing. > This patch switches m68k over to use the common scripts for > system call header file generation. Sure. I'll compose new commit message. > > syscall := $(srctree)/$(src)/syscall.tbl > > -syshdr := $(srctree)/$(src)/syscallhdr.sh > > -systbl := $(srctree)/$(src)/syscalltbl.sh > > +syshdr := $(srctree)/scripts/syscallhdr.sh > > +sysnr := $(srctree)/scripts/syscallnr.sh > > What's the purpose of adding sysnr? Yes. This is not really required here. I planned to change the implementation in some other way, but didn't looks perfect and this was left here unnoticed. > > > > +quiet_cmd_sysnr = SYSNR $@ > > + cmd_sysnr = $(CONFIG_SHELL) '$(sysnr)' '$<' '$@' \ > > + '$(sysnr_abis_$(basetarget))' \ > > + '$(sysnr_pfx_$(basetarget))' \ > > + '$(sysnr_offset_$(basetarget))' > > + > > What's the purpose of adding this build rule, which is unused? Sure. Firoz