From patchwork Wed Jan 2 15:02:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 154650 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp267198ljp; Wed, 2 Jan 2019 07:02:36 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Qv++nBvp3zwQB9rSbn+YVANweLALrizhsLJjyKrwR8TgJjQj7CKujqiKGAyq+fFQvzxkZ X-Received: by 2002:a63:c904:: with SMTP id o4mr13677783pgg.331.1546441355857; Wed, 02 Jan 2019 07:02:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546441355; cv=none; d=google.com; s=arc-20160816; b=QsdkWCNxejEeujaWv8GbgAFspbEFaR0QJsBwbr8r+Nq5gxsfBgSzpmVecQz9wPWOxt o5YdmrRIFpmcdb8Zp9quRgnhZIkOvpRXtiMq5eXzyvVJKawD8oYs26EDaFchhyAFeTsY Qw8RbSnmmdR59Qos2V9olCcGkF21TKDWRdfJ8bAGLHrI/RfLs+AmYkKZSOEbQFDnaq9U SRqPlCmrgfWFjkqaXsYVglRIU2eJWL1dCuS9j1flZ0EZnREc3GwKRWiMhe91POkwMkyi OfCRlwrNMPpS5NaFdz0nxrOZ5VAKG92GEJorXNGuJz3BrCAWcVt/uWyYCJWqeWiJ3gTB J+EA== 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=7nqJrGCWoJ/xXa+0vawBxQXEAZNobDoLmrZscFMVjZY=; b=zAY7a4XIrchCc+/NJu8ivVBKO6gZDY1Eb+J99TiFoHbuFRyDm0v2CNQb7gpCqE1H20 BfCq4dcP2VmowQ/q2uaVVNhKK6di4QCqj7fSSooOzoZWWQW+F8wDNC7tb13A6hVlqLQe di6J3fJKu0pNY+td4z6XkTuBfvJwefxW1/kLATtcoTxs9nkQLerjJJA9+T/QOShCyOmA Tfsa5e18WWH/acHFisWp9qEi/IXFig4V/k5IaDt3ykUd/Id0mFSkslaTgmTDJVRQA3Vh 5Ztm4MJtW6o57xr6MFaZkmyGHJafvEAAna99zretfiyXuNpMQJrz1vUDa4FhM4oCL5m6 LLmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D58yz0fe; 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 b34si49429908pld.305.2019.01.02.07.02.35; Wed, 02 Jan 2019 07:02:35 -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=D58yz0fe; 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 S1729752AbfABPCd (ORCPT + 31 others); Wed, 2 Jan 2019 10:02:33 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:43910 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729635AbfABPCd (ORCPT ); Wed, 2 Jan 2019 10:02:33 -0500 Received: by mail-pg1-f195.google.com with SMTP id v28so14687649pgk.10 for ; Wed, 02 Jan 2019 07:02:32 -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=7nqJrGCWoJ/xXa+0vawBxQXEAZNobDoLmrZscFMVjZY=; b=D58yz0feqYH8p3MlPzWJ5O4HNTeru3ubYuxTOOx+nCouyEc2r0hnaS1C8V5BQ7pGQg a3HQOzV5zGyVLLq1ybFKsEZHnnowIgRh/ji0d86VV8K2PRO8bJhgI66Zlf450SQXQRtL HD4ZiT+jnqnf3zdmSp+5fds0S0Kri2KexHxCo= 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=7nqJrGCWoJ/xXa+0vawBxQXEAZNobDoLmrZscFMVjZY=; b=YgLJapmvWWPSP4WAVrGr25iHfxaAx1HcgFvRIdSB4yXQHi1QmqnkIekikdimK9uyHz fSpmEyShKvM75uoit/5Q8V4MHxKPAQNWs7PZGH+7QYQ6WhauVpRolU6QYjJckX5YZjbo lEg6PUXtSEeR+JbfQOYaSWE3ta9lA1LEO/ENx2GS3zgE536sTCEvKRKAB9e4uRBFm1/O usLwCbWiPNZWFJF0OAmMRn607to4tI7P1cmFE0bPSadYX4BKySOWKmm+05eDyXmKuC66 IjCDmRo2UHM5BLdgvLWmp3WSr7IksjnD8C0Tu2zS2HF6XkflN1O9XDHuUMxtaEUmHBhe yqwQ== X-Gm-Message-State: AJcUukdHMjcdEST151ubMPnhXohmo8nUtb/2bKRgoewoRU6u0DZwAXir +n2xtuCkolHAcsWBIYXHKmrelA== X-Received: by 2002:a63:4456:: with SMTP id t22mr14012658pgk.0.1546441352610; Wed, 02 Jan 2019 07:02:32 -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 z14sm66180213pgv.47.2019.01.02.07.02.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jan 2019 07:02:31 -0800 (PST) From: Firoz Khan To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Al Viro , linuxppc-dev@lists.ozlabs.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] powerpc: Unify the system call scripts Date: Wed, 2 Jan 2019 20:32:02 +0530 Message-Id: <1546441324-19774-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): powerpc: remove nargs from __SYSCALL powerpc: generate uapi header and system call table files arch/powerpc/kernel/syscalls/Makefile | 11 +++++++-- arch/powerpc/kernel/syscalls/syscallhdr.sh | 37 ----------------------------- arch/powerpc/kernel/syscalls/syscalltbl.sh | 36 ---------------------------- arch/powerpc/kernel/systbl.S | 6 ++--- arch/powerpc/platforms/cell/spu_callbacks.c | 2 +- 5 files changed, 13 insertions(+), 79 deletions(-) delete mode 100644 arch/powerpc/kernel/syscalls/syscallhdr.sh delete mode 100644 arch/powerpc/kernel/syscalls/syscalltbl.sh -- 1.9.1