From patchwork Mon Oct 8 05:16:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 148343 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3227674lji; Sun, 7 Oct 2018 22:17:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV62vARyO1Q/SGXeoKijKP3cAcTUJ1H7KA4Z4kp+Y24fbWT7egCjBgKBIM5kt8g1NZH3sH/3q X-Received: by 2002:a17:902:1121:: with SMTP id d30-v6mr21723748pla.250.1538975850815; Sun, 07 Oct 2018 22:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538975850; cv=none; d=google.com; s=arc-20160816; b=C0CilM7V/Kmva+LIvZtGUa7iyHPkbZNuj6uhpTRPMRVEKnUdXP/rm1HAe9cYSA04dv RV6WeFE5sYfff1jw7pEHl8ZIXJakm8NPX3OcThqc7aHBYSVDyC5BuuQ/qZiOjum7qdH2 WUchCXdePD3fzDide2xkAqHVSRaqse2Wd/2lh0P5WZYU7P1lBiI1PgCkF6Wpkf26eN8E WlGy9pqNOrv3Vx0LwZ0JulaQGDlr8brL9OdhJi5oP1FdGarKIAluv6nYKbkMkpbxVMxl uee2D0Cc6v9mm/A1BpjvB0ET5Gs+yKuI58ImLE1hHMtBv0e+oGkr/82HO20jauNodVYD 96WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=eVc4Im/tlNb/+Q87+YSUnQ6E1heQGbWRIcznReQrtGM=; b=EaA786gi3XKfUELlmXTf+yHrYMafAtto468Rl/XSHvtBccvNMrJQH7RmrPO8ii9eV+ pxnfI1nHOan37KYNYOVrljSyjvPZMJCJfssn9g8wWndGeKXy7IyEzKuhxKqSrIuvcdku cnS52qaTPN/0Y2avDXJHjVsxgICuZsaTmbW7FZYUXS4KXL/Gzkg3SZxpeX5ToO+nR9YD fT4y0k2T5bhGw8rLM8iwhZXGC+FlgggC3jTx2WTxkX7M1fVcZmxure5TCqRgrxDwx1oY h2Eak22AAiJM3rS5rwjxMAzN3FzSa9VTJTp0nHbMAX7YMVNDCpWjhHZVZZM+oHwwZ65D 37aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KyBfxHnF; 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 c11-v6si15950242pgj.409.2018.10.07.22.17.30; Sun, 07 Oct 2018 22:17:30 -0700 (PDT) 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=KyBfxHnF; 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 S1726689AbeJHM1P (ORCPT + 32 others); Mon, 8 Oct 2018 08:27:15 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:41874 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726582AbeJHM1O (ORCPT ); Mon, 8 Oct 2018 08:27:14 -0400 Received: by mail-pl1-f195.google.com with SMTP id q17-v6so9497973plr.8 for ; Sun, 07 Oct 2018 22:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eVc4Im/tlNb/+Q87+YSUnQ6E1heQGbWRIcznReQrtGM=; b=KyBfxHnFkcRqSuq3BEX40+PmIgpZ/JjKXlH83WSrXXlI2/lbIil6yptjcfZGHxPk4X Bcuk7uco7PexeEHh4bY9PGDq4DlvwL/Cp7wfsd1dD31dmvPsppH8i1r+foQYmlaWc0mP WtcnfAFlgDDZpLJWFCsgMTGZEb6iDPuUJGpZ8= 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:in-reply-to :references; bh=eVc4Im/tlNb/+Q87+YSUnQ6E1heQGbWRIcznReQrtGM=; b=EFjIeIsBp8oBkaGl+yN8fAC5XmkJ7dqDfkhyrKX7VRWw+hS6e2VGMfdPgeKq35GT6p DvJpETs13FqIc8D8mX1Os5G5Jlw0vLM1aLn9+rfcgTYOvmQRUGMNl8A54UBUe2JSX55Y dh9M5G/ABkhoz3SxzHwB2KhpU6+fUWKte2msDEt6Ct9VYyo0nWhroduYvlkjvFJM/HFL ZSd2Jp7vD0H91dPx9VjtIyjYFTITNfC8v970b3evmWfwGO4XG5KQLW3jVuEiZxegqt4u rkQeJat4vm8xtvOAISu/o+QTA3+/MH8rBj42udJdsRaxwJG/1Qor/KSVLErNitnyZ+Zh swJg== X-Gm-Message-State: ABuFfohg05HHp9pmLyfAxuV8eFEbvLnK9P9S6LRXakM3j8fLCAS5pkOP n4pr/u8gRaf/Lh500XVmSvLuug== X-Received: by 2002:a17:902:7002:: with SMTP id y2-v6mr23242483plk.125.1538975843597; Sun, 07 Oct 2018 22:17:23 -0700 (PDT) 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 j19-v6sm1875919pfi.137.2018.10.07.22.17.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Oct 2018 22:17:23 -0700 (PDT) From: Firoz Khan To: linux-parisc@vger.kernel.org, "James E . J . Bottomley" , Helge Deller , Thomas Gleixner , Greg Kroah-Hartman , Philippe Ombredanne , 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 v3 1/6] parisc: move __IGNORE* entries to non uapi header Date: Mon, 8 Oct 2018 10:46:36 +0530 Message-Id: <1538975801-13735-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538975801-13735-1-git-send-email-firoz.khan@linaro.org> References: <1538975801-13735-1-git-send-email-firoz.khan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All the __IGNORE* entries are resides in the uapi header file move to non uapi header asm/unistd.h. Basically it is not used by any user space applications. It is correct to keep __IGNORE* entry in non uapi header asm/unistd.h while uapi/asm/unistd.h must hold information only useful for user space applications. One of the patch in this patch series will generate uapi headers that should present in the uapi header file. And some of the information which directly used by the user space application also need to be present in uapi file. Signed-off-by: Firoz Khan --- arch/parisc/include/asm/unistd.h | 6 ++++++ arch/parisc/include/uapi/asm/unistd.h | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) -- 1.9.1 diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h index 3d507d0..93fd9f6 100644 --- a/arch/parisc/include/asm/unistd.h +++ b/arch/parisc/include/asm/unistd.h @@ -8,6 +8,12 @@ #define SYS_ify(syscall_name) __NR_##syscall_name +#define __IGNORE_select /* newselect */ +#define __IGNORE_fadvise64 /* fadvise64_64 */ +#define __IGNORE_pkey_mprotect +#define __IGNORE_pkey_alloc +#define __IGNORE_pkey_free + #ifndef ASM_LINE_SEP # define ASM_LINE_SEP ; #endif diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h index dc77c5a..bb52e12 100644 --- a/arch/parisc/include/uapi/asm/unistd.h +++ b/arch/parisc/include/uapi/asm/unistd.h @@ -368,13 +368,6 @@ #define __NR_Linux_syscalls (__NR_io_pgetevents + 1) - -#define __IGNORE_select /* newselect */ -#define __IGNORE_fadvise64 /* fadvise64_64 */ -#define __IGNORE_pkey_mprotect -#define __IGNORE_pkey_alloc -#define __IGNORE_pkey_free - #define LINUX_GATEWAY_ADDR 0x100 #endif /* _UAPI_ASM_PARISC_UNISTD_H_ */