From patchwork Tue Oct 16 07:03:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 148915 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4722214lji; Tue, 16 Oct 2018 00:04:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV60EZGIiyl/TpDzmPlYz8oD7WQT6/T+yvjTqAJXMKh7FA9IGLW306ZU2XZJAlwYc4ZtbG8AD X-Received: by 2002:a62:3641:: with SMTP id d62-v6mr11935665pfa.97.1539673455684; Tue, 16 Oct 2018 00:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539673455; cv=none; d=google.com; s=arc-20160816; b=syBYqDspGViT68biEhGy7SM9XWUCsMoIJFrvmnnEq8dJ87jDM9g57xQVmDDWG6Jdal 9ul/O9aPdeFM30+nbQATa7DcHb9IyEYnfcqkBiJ7MB8NbHGo1t4HNvMBwsKPmdG8LGJx TyVBYgIA7wtWe/wcS2kDUqszQKACwmIySlPdYMLWO83oLPmsJuiKhN8c0osNXbBxs0UW vHeBoavcRbV6Yajf+n2M8fA6Zssw+PtUa4RszWqgT2UWVpHF2KwHkm+kD8/yZlMdZ9d4 F/IcLUtrvmy1paiEgZNGq2paQq1JBBeNFb5SGx09JOPpYOAu2+As1KruOXgMUgtu74s6 dzbA== 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=KU6DXIIYUjCMDre4JgDcgc8e7hiA/7vLtU/zXJn/n5E=; b=t3vpmv377tHknxbJg05rq7IpTd5ieFiKyXrbTZzQhtBfJQGQX/q0q8uuxQxVacZZfR 7UpM3b6z/NvDRk8JeL+qfkZvPo5ViholbyMmUkxXUNQOR2YvgzDjiL8JL9ZJZCQQ/Efs KObXqjRE95ISX/A7tmqunm710kFn/4H2Jsdq3piMJVcTa6lEE1oerM2/OsjsIMDQq6uR Xa0QY4Z1TEqAApONA2kcvZgTz+HzQUDqqB4ECzfhcsReTjEhWAae7q0B+z5cldBigGxs 0DfQfiFKLKYN/i+VvZuZdVjih5nL9Qx5lKRdFHJz5snVfTyXH8UjsqrfJS7kadaoE6/R hKtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cq1H+3ro; 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 b27-v6si13400624pgb.156.2018.10.16.00.04.15; Tue, 16 Oct 2018 00:04:15 -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=cq1H+3ro; 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 S1727788AbeJPOxN (ORCPT + 32 others); Tue, 16 Oct 2018 10:53:13 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:42435 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727657AbeJPOxM (ORCPT ); Tue, 16 Oct 2018 10:53:12 -0400 Received: by mail-pl1-f194.google.com with SMTP id c8-v6so10518840plo.9 for ; Tue, 16 Oct 2018 00:04:12 -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=KU6DXIIYUjCMDre4JgDcgc8e7hiA/7vLtU/zXJn/n5E=; b=cq1H+3rog/MGkmoVEHo1HyK+notT9Hrc9j6PhcK11KQ+aG6SB0VadnNb5h1R+YTVfv 5ttIYFuslE6Y8RhThcJpJTH+QAeayrxrTZVuYo76fupdGBnw6S26NrzW+m4cdt79eI1X N5SUCZLR0PYSBLgUQX1slJDwQ8TQkzuuDkvW4= 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=KU6DXIIYUjCMDre4JgDcgc8e7hiA/7vLtU/zXJn/n5E=; b=sS1qvzW6xYVduCQtCS/Q6i/vs1+8kO5o5rdv9VQLoqw1LHCDPptSWFbMfuOqrDOE0C FScFVxs9xHEcBlxGGMgDEsDAevnmf/4uF1/dBIM1BRzwrP2Qwk1YqrwSLqLUqd+gn4Id +q806dO2mVW2akRqRjlrWFl0yBlQMyTM0N0HGJEuZmPy5yWPNWXxC6uQhBf84CrpEjyz A+/fQWX9Qap2CmhWrLQti03XWh9X9T0lE/6EIYUQYywagQGba/dPZxpg/bsDqF9oaiu3 4QOZBGU/M7VEOdvup4Ja9J6x5zlRBjkbCh8w+tJfBmz9QN286nkVBpopcxC/HgS0q7Jn KUIA== X-Gm-Message-State: ABuFfohxJv1uNVXSoeey+vDNf1qXZp8TH3PvhtChIbJrl/fsOpMox0Gj o6qV+8axaj6IWlKNlTsLvm7J6w== X-Received: by 2002:a17:902:a606:: with SMTP id u6-v6mr19537091plq.69.1539673452493; Tue, 16 Oct 2018 00:04:12 -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 u21-v6sm21775107pfa.176.2018.10.16.00.04.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Oct 2018 00:04:12 -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 v5 1/5] parisc: move __IGNORE* entries to non uapi header Date: Tue, 16 Oct 2018 12:33:34 +0530 Message-Id: <1539673418-7279-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539673418-7279-1-git-send-email-firoz.khan@linaro.org> References: <1539673418-7279-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 as 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 header file. The information which directly used by the user space application must 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 Acked-by: Helge Deller 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_ */