Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1833934imm; Thu, 11 Oct 2018 00:04:47 -0700 (PDT) X-Google-Smtp-Source: ACcGV635QS7XEuQH3NKjC6axx0p7wB3CnQwF/I9cCqHE0kE5Ftu3j/zIBKg7l8kjAmtNhSurfQDW X-Received: by 2002:a63:2441:: with SMTP id k62-v6mr371723pgk.26.1539241487424; Thu, 11 Oct 2018 00:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539241487; cv=none; d=google.com; s=arc-20160816; b=eNnTfjkza+ObDmKL6AV9hBqwE9GPkP94qUCO7ddgQhTL0KkToMdiVQ1e0dB9Rkg411 UoKPMw0+br8egpmdHwM+B/vxTizGDwYN6NHeZhjJr6VT+3lXJI8LC6+Un3PxfZLdb/Di SVlRiPwk3Km0EYl/+frjz1A2QkGBY7M01R7iybghaD2oL9WXxB1g+PTJTCB3pDTVhCWR G15bVdyyecDqeTD8hHyqgAY66wJg1wIBgIzr7GotX3F8mJ2RZtRMedTYILzR96ITyvEl fLCaO5B6idEaVGXeFUsZQMhzsoDNlG9R7lO336liOEc5UxqdtXH+qILUjI5WHrDMyetX ushA== 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; bh=lWAeOueLWI6lFotF64qNbOYUAzO3t7+RU2k/feXJ6jM=; b=hfNizSBzghd7PXOPfoq8LEMwIMYyEwpohafFqjibxRUyq7zgRsmn2225kdy1CCz7Ry mKOMw67cgCGGBmjvavuzcdHxey1IZErhjoLE8lFrNBaxCnlugCj+eXc92XejyVX/rboa mRj/LOOz+InCgiAbxJdzBUZNC4nWAIcdl5REgYQu9BJ/cqCGTwrQ9vEpIgQj4vV0GhOU GsGtoEjTIdyw08cotYPly9HfGoLy7zWth0PxMspJTxm/N0pReYkThfz9O3qP6aQ6I8FC I+m1upQhv/j6jVI7VxiyVRPzpHHScWuGRC+9yGRrh3K7bxS4vreIliPlwuFbmoZjKCVu OWdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg1-v6si25597350plb.235.2018.10.11.00.04.31; Thu, 11 Oct 2018 00:04:47 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727132AbeJKOaD (ORCPT + 99 others); Thu, 11 Oct 2018 10:30:03 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:35864 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbeJKOaD (ORCPT ); Thu, 11 Oct 2018 10:30:03 -0400 Received: by mail-qk1-f196.google.com with SMTP id a85-v6so4813863qkg.3; Thu, 11 Oct 2018 00:04:08 -0700 (PDT) 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=lWAeOueLWI6lFotF64qNbOYUAzO3t7+RU2k/feXJ6jM=; b=ORyNOMKv4Przd6/YEW4Z5P5l+lfyiestvYr3TfUvaMXGoSSIf3SCyRWhm1zAuoV5MZ fcxTsnblqA1gjBd9PJJjYrDHJn0H8wvoymJXwb1jNgJvV6XguFbvxwwSamMXOepuoege aLPhMx4BoUYG4qpzdTvQRusJ/nm335eC862dDbDxCJPA1VR7nycFI2O/o1D/4i9irpkE lBZd4HhQszXreNhx9HTcf2Ryf78FSbGP/fQ/hMRPITUANmiUn44CePGCN2JbcX0h0Cfu /1scHtgRjHF5W7dcExKudSzWUgT4yWKRg+xW5y7pZXq5wkkZSCvZBwP0rGy6oNs0XVA2 GpXw== X-Gm-Message-State: ABuFfoh5jHs0AVX8sBQnmVeDpndhvoO25MPIBfQPk04keIdsUecti61J 580At7EZ/bt2FQkx13SJrs1NDmho2yJSc033tZE= X-Received: by 2002:ae9:d801:: with SMTP id u1-v6mr180441qkf.291.1539241447902; Thu, 11 Oct 2018 00:04:07 -0700 (PDT) MIME-Version: 1.0 References: <1538975801-13735-1-git-send-email-firoz.khan@linaro.org> <1538975801-13735-5-git-send-email-firoz.khan@linaro.org> <20181009201321.GA28911@ls3530.fritz.box> In-Reply-To: From: Arnd Bergmann Date: Thu, 11 Oct 2018 09:03:51 +0200 Message-ID: Subject: Re: [PATCH v3 4/6] parisc: uapi header and system call table file generation To: Firoz Khan Cc: Helge Deller , Parisc List , "James E.J. Bottomley" , Thomas Gleixner , gregkh , Philippe Ombredanne , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , linux-arch , 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 On Thu, Oct 11, 2018 at 8:48 AM Firoz Khan wrote: > On Thu, 11 Oct 2018 at 11:40, Firoz Khan wrote: > > On Wed, 10 Oct 2018 at 01:48, Helge Deller wrote: > > > + > > > +ENTRY(sys_call_table) > > > +#if defined(CONFIG_64BIT) > > > +#include /* compat syscalls */ > > > +#else > > > +#include /* 32-bit native syscalls */ > > > +#endif > > > +END(sys_call_table) > > > + > > > #ifdef CONFIG_64BIT > > > -#define SYSCALL_TABLE_64BIT > > > -#include "syscall_table_64.S" > > > +ENTRY(sys_call_table64) > > > +#include /* 64-bit native syscalls */ > > > +END(sys_call_table64) > > > #endif > > > > > > /* > > I could see a patch (commit 47514da3ac20150cdf764466fbc2010c0fca0163) > which will perform a compile-check when adding a new syscall. My patches > will remove this feature. Is that fine? I think it's ok: You are automating it so the bug can no longer happen, which is better than adding checks to prevent human errors. Arnd