Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2524918imu; Thu, 29 Nov 2018 06:24:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wloi1gUVGKIz6QBIEuvBr1RBYDUs4d3+Lsn/F1tKWrUpbYLI1QsgmN3k64P48PMfU+d1ea X-Received: by 2002:a17:902:2862:: with SMTP id e89mr1699977plb.158.1543501457145; Thu, 29 Nov 2018 06:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543501457; cv=none; d=google.com; s=arc-20160816; b=pOyV/Jdu9gFk6R2GEosLgThwmAdMBI5BMg2VrZWP+26NL4baJxI+oi2FFbf0TWo0hj UYw//uZgpPJCYChfrbRiZ3k+SEjuIRNehU9PwBy4JR7xAbyt/Vvc/yuBiWlm4JOmJ9YK FpvXrPkUqJCNntGr5gfK+AlpBOCla4spyv3HRmb2EGWbVOlRcbZC9VmPDkVlysAvC4tF bC/FP/N13Udy33PNkfhPLnVPeJ40uDBRdq9zb2fFQQd1JRZTpEsNLbn4iqy/TOJdJ+A5 6raBS3exJwKpIGV44JJVAIZ8N+XSdR29Qmo178AwcwmG3uMqypPIq78PWaDDMuNydlYF Hhjg== 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=dp1c5m9Go758zqpd0U6yL4XdcMp/QelpMOB8347WFtA=; b=vrTrpkG0MvfhcN08Frda1RFGH/Lw8D+wjYHwf+HTDSjWsa9/T+dLodNRRANyjtx86y bSqJl1tLi6oPmKJ7WHnn7xlHiz7f2v9Sl4yFPaqfIwj25btyvAw6sKjfi1PwEfkucjI7 OFVeVqB2IgxPtJqf1i0JLJOsVH6SZaN1uQCj6905zSjZz3l5Esg2yGJE7I9z9M58mz95 E0IxRMA1Nd5ca5ADD29oTdXYRnQn76O53yMDgYsclTNn8CKNwaHB6JsrjowCJqrM+joo a84DHzP4tHnsrzxkpW6KKvseIAykb2Q50RSsTqlfLIv3kPuHndeE7JiBt/7INP0MGhDm tzbg== 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 205si2167417pfa.199.2018.11.29.06.24.01; Thu, 29 Nov 2018 06:24:17 -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; 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 S1732010AbeK3B2G (ORCPT + 99 others); Thu, 29 Nov 2018 20:28:06 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:38716 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731330AbeK3B2G (ORCPT ); Thu, 29 Nov 2018 20:28:06 -0500 Received: by mail-qt1-f193.google.com with SMTP id p17so2101969qtl.5; Thu, 29 Nov 2018 06:22:34 -0800 (PST) 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=dp1c5m9Go758zqpd0U6yL4XdcMp/QelpMOB8347WFtA=; b=NpR1CWaOtsQLMg/NQb1y0fdwBPLpzVdQp5Yn0gUgDoUYvViKXmB/ERRSMyfmm1dLsw QtEFAWBZ6VDSzd9THtNmAJSuUvaPaOatI5qu0T6prIBBGBi5Nh/wO4FXkw1VT6ZU4FD7 T5OKBGMaN11U/lGtO8Cb154bdwSzrLYr50r3035bCzDLAdnl1bU/u7hZfh6tcSQBbQhV rZIuEegk2ilA0IgO5dSjW7Qi9q6ILrpf+NCTcaZ5r9M8j9sQegvyN/O/fekevb8c3FQR VPvA2OMX0H5sjQG9INqaoMmK+h5BSox/Mbs5gNeagdqrheQLtXVGl8DstthsfpfwgxBn 5FQA== X-Gm-Message-State: AA+aEWauWSRpCmYTkdVjasxCD87SM08efqDs8ocUi2cwzfviwvuOecy8 Nq60iVKucboXydhJidiCH9buyEw/wFzvE6AVCQE= X-Received: by 2002:ac8:7451:: with SMTP id h17mr1517085qtr.319.1543501354279; Thu, 29 Nov 2018 06:22:34 -0800 (PST) MIME-Version: 1.0 References: <1543481016-18500-1-git-send-email-firoz.khan@linaro.org> <1543481016-18500-7-git-send-email-firoz.khan@linaro.org> In-Reply-To: <1543481016-18500-7-git-send-email-firoz.khan@linaro.org> From: Arnd Bergmann Date: Thu, 29 Nov 2018 15:22:16 +0100 Message-ID: Subject: Re: [PATCH v3 6/6] mips: generate uapi header and system call table files To: Firoz Khan Cc: "open list:RALINK MIPS ARCHITECTURE" , Ralf Baechle , Paul Burton , James Hogan , gregkh , Philippe Ombredanne , Thomas Gleixner , 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, Nov 29, 2018 at 9:45 AM Firoz Khan wrote: > diff --git a/arch/mips/include/uapi/asm/Kbuild b/arch/mips/include/uapi/asm/Kbuild > index 7a4becd..ed4bd03 100644 > --- a/arch/mips/include/uapi/asm/Kbuild > +++ b/arch/mips/include/uapi/asm/Kbuild > @@ -1,5 +1,11 @@ > # UAPI Header export list > include include/uapi/asm-generic/Kbuild.asm > > +generated-y += unistd_n32.h > +generated-y += unistd_n64.h > +generated-y += unistd_o32.h > +generated-y += unistd_nr_n32.h > +generated-y += unistd_nr_n64.h > +generated-y += unistd_nr_o32.h > generic-y += bpf_perf_event.h > generic-y += ipcbuf.h I'd argue that the unistd_nr_*.h headers should not be in the uapi directory but instead be included only from the in-kernel header. > diff --git a/arch/mips/kernel/scall64-n64.S b/arch/mips/kernel/scall64-n64.S > new file mode 100644 > index 0000000..402a085 > --- /dev/null > +++ b/arch/mips/kernel/scall64-n64.S > @@ -0,0 +1,117 @@ > +/* > + * This file is subject to the terms and conditions of the GNU General Public > + * License. See the file "COPYING" in the main directory of this archive > + * for more details. > + * > + * Copyright (C) 1995, 96, 97, 98, 99, 2000, 01, 02 by Ralf Baechle > + * Copyright (C) 1999, 2000 Silicon Graphics, Inc. > + * Copyright (C) 2001 MIPS Technologies, Inc. > + */ > +#include > +#include > +#include > +#include It looks like you change and rename this file at the same time. Generally speaking, I would not do that in one patch. Either leave the slightly inconsistent name unchanged, or rename it in a separate patch. Arnd