Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp566056imu; Wed, 9 Jan 2019 02:36:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN5j7phxHHbBkZtRjsWltWH/+zGPOOgf2hrekjjp1RmhUxndGSfeQpMz4CysQhhe80n71zHU X-Received: by 2002:a62:6503:: with SMTP id z3mr5265201pfb.169.1547030166893; Wed, 09 Jan 2019 02:36:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547030166; cv=none; d=google.com; s=arc-20160816; b=yr0AVk3FXEAdiIo1Dra02CNpqofCbCH8eT2iVUHh/+gO7cFlWHG/VCRPcfcIPZDnqK Lc4W2XYGrI8NPDmFRLqBjVGrGzT8sE6bi5iASlKZTnqGuDB3j65m8QgHClieZdl/hX1/ KswDuQGfxgPDpAu4AEfXOBZ7e2eBTuMyG14rij/lSF5mGb8WMPaveFKqJVZOMEBj4d8Z aIWOD7b1djKOZnv8cfVaGjxt3DeLvQZy09WZ9c/2af/kki8doMljPUxOFilXU1/ElxlV 0l7HwtjVryUgAO3C5XOW9YWJ7FvEXPn7gxhheIvb4NgoguArzuUklHWdhLS32jodsAFl uBDg== 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=HK0H4QHsqsYBpDgeVZp/u1YrJG4jKZciqcePdhXymvc=; b=j0R2wkIvim4V4e8znjkcFIZxMwHdShX8vi+0TFrGQhbTJ409fHIgmjcpAN6JgzrfpB gY0qjpoECZ4i1ZMp6J2IvB4TGKWN1Md2gZhUPMr8777cSfHvAlJbs24DlOCExA9HLTXI DXu7WXqKGTg01y3/vTou6Wb9rcGQB9w33rHPwVpwqjDMAD0BaiemqRFMkzCbwmAK1LMD LbAI9tGqwEa/p8euMu/Y1lNJ815ubawzkG5hqokDECsx1sWIZaLPn89dLNcSsGo7WEYA OSBBviC76kWo1Bzy3nC6/5r1fgTJ4F/GJcSBYG8awCwL9OiP3j7x6J0dkeaQPoU8R08I BAOw== 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 y10si8402922plt.406.2019.01.09.02.35.51; Wed, 09 Jan 2019 02:36:06 -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 S1730227AbfAIKLA (ORCPT + 99 others); Wed, 9 Jan 2019 05:11:00 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:38066 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729281AbfAIKLA (ORCPT ); Wed, 9 Jan 2019 05:11:00 -0500 Received: by mail-qk1-f195.google.com with SMTP id a1so4072878qkc.5; Wed, 09 Jan 2019 02:10:59 -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=HK0H4QHsqsYBpDgeVZp/u1YrJG4jKZciqcePdhXymvc=; b=lQukS1YfyW7r+t16/o12emWHrLFTpoDXWlWqB43s+KOgmrqzJdA4IW3W5w5gN73cTW LTLzbeqSuji8ul7/X9YKGZ/LXVdb1GZErcjBGUgtrHopfFFutaGY+qc1+gqZs3TxPBWW 8a3gjbZDSnf+uKJb/7z4A7yvvhXwEdhnMWRuk9PEhfi7oxkLp1zqs+eVjsfrzUkUOKeI EfeXGI7oytgBijUm13B7toB3ZXW7xHdscKOWIY+XCwZtmZscH7RUB8thonj7Nqa/boOj +cc0YwVWyNir0UqBjBuuXzKLm/Vm+puXTN2EBTrpiNFfOKQAHTqJllui+1USNg4nTuR1 tx5w== X-Gm-Message-State: AJcUukcGLz9obu/tS8UCtURnRWV5ZH8WFJ0Z3GhI0cwUZxWJUE93cPKv 60RmDVudttL1BvWJBFHrLp8ywGtaawjgSJq2oRc= X-Received: by 2002:a37:bdc6:: with SMTP id n189mr4677676qkf.330.1547028658854; Wed, 09 Jan 2019 02:10:58 -0800 (PST) MIME-Version: 1.0 References: <1546871413-2433-1-git-send-email-firoz.khan@linaro.org> In-Reply-To: <1546871413-2433-1-git-send-email-firoz.khan@linaro.org> From: Arnd Bergmann Date: Wed, 9 Jan 2019 11:10:42 +0100 Message-ID: Subject: Re: [PATCH v2] scripts/syscalls: add system call table file for asm-generic To: Firoz Khan Cc: Greg Kroah-Hartman , 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 Mon, Jan 7, 2019 at 3:31 PM Firoz Khan wrote: > +242 common accept4 sys_accept4 > +243 common recvmmsg sys_recvmmsg compat_sys_recvmmsg > +244 archs0 arch_specific_syscall0 sys_arch_specific_syscall0 > +245 archs1 arch_specific_syscall1 sys_arch_specific_syscall1 > +246 archs2 arch_specific_syscall2 sys_arch_specific_syscall2 > +247 archs3 arch_specific_syscall3 sys_arch_specific_syscall3 > +248 archs4 arch_specific_syscall4 sys_arch_specific_syscall4 > +260 common wait4 sys_wait4 compat_sys_wait4 This arch_specific_syscall0 should be fine as well, but there is a small chance that existing user space code refers to the __NR_arch_specific_syscall (without trailing 0) macro, so please change 244 back to 'arch_specific_syscall'. Not sure if we should then count from 0 or 1, i.e. whether 245 should be arch_specific_syscall1 or arch_specific_syscall2. Arnd