From patchwork Wed Jan 2 15:28:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 154665 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp292599ljp; Wed, 2 Jan 2019 07:29:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN4cjtYx5+1yBvsyUUaQB7OYo35HAjCsKtacizzTT1IIliuj44d491HBUv+RwssiRJgo/Wpt X-Received: by 2002:a17:902:33c1:: with SMTP id b59mr43182262plc.220.1546442960002; Wed, 02 Jan 2019 07:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546442959; cv=none; d=google.com; s=arc-20160816; b=HBBtm+dWKGUJdGshpcLY1UoJUZqfEsnrASACSX0uMRBmIHmF9iPYraTAL7tm4+sJFr YUznq3WhFQmrydmqbnAuP/dROTO2dogErwAFGT0pNRa2hAUh7hqXL1O0y6t5Qygo49B7 G6uyzMBm1mP1fnbXshwrFgRlsLnN9JFtlSmZ3r0dVQJteoxtRITpfUJBiuOfSOxzBN69 YO66PzOG0MAdupiovCzhb6CD9fm4MYhm/iP/8k8Y+4CSKR8L/yIv+j1TwcWx9GP53m0E JhHoTyRkdm2YD9mrjxnENAl6Q3ID6jKKiMIZkqWMY3uiwclZEcERd9jkX+E5q+8J+EAE cOEA== 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=TzfxDIuhFcGaalVZm9i393UYXlotuCx1hu7UhTiNLRM=; b=nkyq+hgnsrYHjzwlmbHXBBiKm15CoCbndZLu3NcGNd52yBka2gKY/V/OGwvs3JKg4n Ws18c12WxGEnQ5vITvzTrXM43MuxzlIxHTavcYwMLCoAbHFZYcLZUEd8cPsj6K0q1Mkt NKHQdZA6u9TwBEhj8/PQj2kVAF4kT5G2oxssy2Nm3Sl/E57QG+5tCo0LNHhuNj1hzfDc Pquk3lotpYRz8JJ1SuqnS0glKQKu/QWd0h15V7St5OpN4pc0LVz7adlDHvO+QkIn03b0 UX/cYahhm+M7xZPYmLqBZuM/wlbeqpKGZnQiVhC4a7eKww0f8GjV+6pS5naEhtYzoVPR 3fRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XyMqJ79J; 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 a6si615904pfo.90.2019.01.02.07.29.19; Wed, 02 Jan 2019 07:29:19 -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=XyMqJ79J; 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 S1730135AbfABP3S (ORCPT + 31 others); Wed, 2 Jan 2019 10:29:18 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44100 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729266AbfABP3R (ORCPT ); Wed, 2 Jan 2019 10:29:17 -0500 Received: by mail-pg1-f195.google.com with SMTP id t13so14710774pgr.11 for ; Wed, 02 Jan 2019 07:29:17 -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=TzfxDIuhFcGaalVZm9i393UYXlotuCx1hu7UhTiNLRM=; b=XyMqJ79JnUDnAXiWm0gwWwFDwbZQyOO0bePDDocH5J6yXEOjFH4DF0HXgO+UHP+MFX 7x6SOMHQlsXqARen5uSlO3kUdOKTJHdLNlzMnT/t6qfUOF9hPRCxU2ve10k9zx90qD3b JkC6jywrScpqEU+lgIVJ/Tx9a0oeax51sUSQo= 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=TzfxDIuhFcGaalVZm9i393UYXlotuCx1hu7UhTiNLRM=; b=kGPTNhcfi5KYA2knBAg7wpENSJubc8jmD/9kROogXTo5tXw2kEAjxfuQZPdck6IG7z anQ5E5TRZzk32auXn2xavpye8ETFiIzQKBPwfI88mca7vA/IMjznhzF15WDfhAvupdJz VRoARMpiTY1n1VHnqcovjDQQzJEKhy3c50agMzkk915ebqnfelH1kl/6wbvZmkfGymKp 3oihXdUeYVtF7UefZoj7/eQEud2l2zq9WEmfnp4IWbjT2D75pNr96Py7w2f+JpHfpb/x qsINpqCTPvjkQ4TiUw9ZI972mn9lfzyArhH6nVk56IffC79QrUAWIF7TgFKzENKxwz3c lWpQ== X-Gm-Message-State: AJcUukeclg3mHiJ5SWJ2un4cS23RyUfA4lhrP2awWn6wXzvODoggXilc EMVLEA/7MzNgwkVCsuReQzE2Eg== X-Received: by 2002:a63:a553:: with SMTP id r19mr13772729pgu.53.1546442957256; Wed, 02 Jan 2019 07:29:17 -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 k191sm63030673pgd.9.2019.01.02.07.29.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jan 2019 07:29:16 -0800 (PST) From: Firoz Khan To: Chris Zankel , Max Filippov , Dominik Brodowski , linux-xtensa@linux-xtensa.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] xtensa: Unify the system call scripts Date: Wed, 2 Jan 2019 20:58:30 +0530 Message-Id: <1546442912-20818-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): xtensa: remove nargs from __SYSCALL xtensa: generate uapi header and syscall table header files arch/xtensa/kernel/syscall.c | 2 +- arch/xtensa/kernel/syscalls/Makefile | 11 ++++++++-- arch/xtensa/kernel/syscalls/syscallhdr.sh | 36 ------------------------------- arch/xtensa/kernel/syscalls/syscalltbl.sh | 32 --------------------------- 4 files changed, 10 insertions(+), 71 deletions(-) delete mode 100644 arch/xtensa/kernel/syscalls/syscallhdr.sh delete mode 100644 arch/xtensa/kernel/syscalls/syscalltbl.sh -- 1.9.1