From patchwork Wed Jan 2 14:56:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 154647 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp261528ljp; Wed, 2 Jan 2019 06:56:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN512T5JcBvVwzdWZ9E/nfpS2kY30Msu+CSqbDycqKIyxYOBNhVaHSzvic0TBgTaT8qV5rrb X-Received: by 2002:a17:902:50e:: with SMTP id 14mr43295845plf.141.1546441008032; Wed, 02 Jan 2019 06:56:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546441008; cv=none; d=google.com; s=arc-20160816; b=MnEH8zGBihCTIYNyFhBq072mgTfV7iH1rZ8B8JLibojqlFGy1R0hUQXCjEqP+hFU6g U/wptHhHmGcGNk8C4WrKsXikwKre4yVeRzZW+BIGonALGCnkYxpGW4mn6gQd5XCkTT/g VLK3fDjD7BoipzQgTSNbeh8h98rdkZX6sYXwaR6OIoPs6K/DC0BuhB71ej8OZk9iU++b tOoiwjXaKXOtnSBci7fd+P+7RUPOWwdYZSjXoPCcIPJguMNwom2X6iIOo8ion0+D32vV 2hbEYNevQhR+GxgNaJ7W/vSBsYu9FIQgu2qcL30EvihfHQUMy2gx++/U4YavFnTaS5Gn y0jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=yQZUNhRU9x643lviFmppAzPvgmfeUutu99BhDAlP9SE=; b=Z+pIMC6xjYLeMZoAlNl7qu506xr3GKiATqAPAvGYpFijDP23pJ+naPn5nQGiSaZmIj PilTveC1rrbav8H2YZq3qQVVfd+jnSx2OV0LXCKWRk0YZOnFTkEdxtiZmxwJNZ6mJINQ RqRS1M0zZ4ZZ2mklxp9mAr2lHHAKgJT+L9DOXLGVFaigo8pGAvtSM9VKGArGMmWkhpiY 7XM9Ugq1onjMP/qT+Kq7SAHaN65NiDzbg775i5od+kYXumejUl4ibrw/y7qb1JPyGLuR 2pNNPODWeCWecq9F820MQX+35N9HAynxMDlypw6sLOzrw+sf7VeY1g0jR0wy8PO+HwLD ITfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AVDWBEEU; 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 d39si9186164pla.278.2019.01.02.06.56.47; Wed, 02 Jan 2019 06:56:48 -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=AVDWBEEU; 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 S1729630AbfABO4p (ORCPT + 31 others); Wed, 2 Jan 2019 09:56:45 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:39140 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729377AbfABO4p (ORCPT ); Wed, 2 Jan 2019 09:56:45 -0500 Received: by mail-pl1-f195.google.com with SMTP id 101so14609078pld.6 for ; Wed, 02 Jan 2019 06:56:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=yQZUNhRU9x643lviFmppAzPvgmfeUutu99BhDAlP9SE=; b=AVDWBEEUsjjgagENCFY9VlVx2VCSlcrAqY1TZQdqevIJEK1+QZnCvEqtIhB6Luw0E6 Pg4M6lsZYw94OeOEjTB1TJiffVKt9STZbi/wqrIF5IHMRdt6q05TUiiBHFZjRatAJQ1+ Xx+qwpFiw5hb2IDUm4u3ZyNP+1uWW0UvlAIO0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yQZUNhRU9x643lviFmppAzPvgmfeUutu99BhDAlP9SE=; b=ZNnXPtPApCIBNEsqrzlO2ZDF0beO8PO+FIRFP6kqLZ6wnIMougLLv4ohrUD5LQWrIL jAQ26S8K+KQOhAOOBtJrZIipC+4/eNoCm6AV+2vkkDUyWdZcezz23nKrEzz1Reqlbt9Y af2ZGcpnG/MKtUo34WBDOL3nEawfS4QzAbAuil2Lu02b9Adx0G5Irr/9I55mtk12cO8Q jL7blU4hXvfZ9SyjziC8NW5EvloCZ4nzwa0QTbbG9Y2xZoT5eNUt2W6IJdm2S0ayMNwf +MQdqfMec/nUwubJVkSLykaNdMwvMb99k/mj8hhYXi3ni2mJdAaPvS0NqriBEQv7l9KN 6NzQ== X-Gm-Message-State: AJcUukf8USU2tQr3d+9uV4qvuYa8eZHzU/iAP2qukt40kWthqcecTNxs sldggEcgoKQRe0+IgkkxCxp3sQ== X-Received: by 2002:a17:902:be0e:: with SMTP id r14mr41063619pls.124.1546441004777; Wed, 02 Jan 2019 06:56:44 -0800 (PST) Received: from qualcomm-HP-ZBook-14-G2.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id 5sm96745685pfz.149.2019.01.02.06.56.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jan 2019 06:56:44 -0800 (PST) From: Firoz Khan To: Paul Burton , Ralf Baechle , James Hogan , linux-mips@vger.kernel.org, Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart Cc: y2038@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, deepa.kernel@gmail.com, marcin.juszkiewicz@linaro.org, firoz.khan@linaro.org Subject: [PATCH 0/2] Unify the system call scripts Date: Wed, 2 Jan 2019 20:26:16 +0530 Message-Id: <1546440978-19569-1-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org System call table generation support is provided for alpha, ia64, m68k, microblaze, mips, parisc, powerpc, sh, sparc and xtensa architectures. The implementat- ions are almost similar across all the above archte- ctures. In order to reduce the source code across all the above architectures, create common ".sh" files and keep it in the common directory, script/. This will be a generic scripts which can use for all the above architectures. This patch depends on; https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.khan@linaro.org/ Firoz Khan (2): mips: remove nargs from __SYSCALL mips: generate uapi header and system call table files arch/mips/kernel/scall32-o32.S | 2 +- arch/mips/kernel/scall64-n32.S | 2 +- arch/mips/kernel/scall64-n64.S | 2 +- arch/mips/kernel/scall64-o32.S | 2 +- arch/mips/kernel/syscalls/Makefile | 6 +++--- arch/mips/kernel/syscalls/syscallhdr.sh | 37 --------------------------------- arch/mips/kernel/syscalls/syscallnr.sh | 28 ------------------------- arch/mips/kernel/syscalls/syscalltbl.sh | 36 -------------------------------- 8 files changed, 7 insertions(+), 108 deletions(-) delete mode 100644 arch/mips/kernel/syscalls/syscallhdr.sh delete mode 100644 arch/mips/kernel/syscalls/syscallnr.sh delete mode 100644 arch/mips/kernel/syscalls/syscalltbl.sh -- 1.9.1