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: 10746481 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BB6741575 for ; Wed, 2 Jan 2019 14:56:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA75528862 for ; Wed, 2 Jan 2019 14:56:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BE34288A9; Wed, 2 Jan 2019 14:56:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3173A28862 for ; Wed, 2 Jan 2019 14:56:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729632AbfABO4r (ORCPT ); Wed, 2 Jan 2019 09:56:47 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46210 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729377AbfABO4q (ORCPT ); Wed, 2 Jan 2019 09:56:46 -0500 Received: by mail-pl1-f194.google.com with SMTP id t13so14592977ply.13 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=DbeBfkh7QL6Q8DNeWZiBNDtu5N7vFA4aWqYaJx4GH1a8yb7FY3ko/SVm2SHAWI8YRW SDGcv9A5F7Fn8Lqy0ky7bvEWo4dVCNQlvJqQ6up58KH4BTe7r+SPmxR7Yel8aWaA7swS v58ZiwIvJqyIMw6keue6++OfFxivfbdPydSyQD49gsN6L8mARmlFa2XCVUDQT7dGazYp 85m0RlW0BI5UngIEhoAFkbzkUTKuYsX7FEeq2udB0P5oCvbjZsHaX3k31SkiXYca/H7o ABhC6fU/n3uPxAxxDYgfrnZQfTJ522DZQsBvt8hMU3d1Mb4K8JSfHqmBXFRJcn34LT6e EfxA== X-Gm-Message-State: AJcUukeT/QQznxga8801IaD81MExzrixAzAXevpsoyJYQ1Nlk1HZ/UFs U17Q9UigVdVYH54vfpNkBs1zMQ== X-Google-Smtp-Source: ALg8bN6CzO1XSNV0us/oGa2Obt+47jrTz0crHOIOfHsO3ST+236can8wCi/H7qVzq5ft81NYeGJaGQ== 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-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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