From patchwork Wed Nov 21 04:14:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 151642 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1443473ljp; Tue, 20 Nov 2018 20:15:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/XeZ3Une7o0ZGKgTv5KgSDNbmBXmw7By7olr6Z31a5WZRyHzBzffNcKJbUObPkkU6K7AF27 X-Received: by 2002:a17:902:4623:: with SMTP id o32-v6mr5095969pld.187.1542773705222; Tue, 20 Nov 2018 20:15:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542773705; cv=none; d=google.com; s=arc-20160816; b=QfFOHK0QeELAFyb0HR1jBnIx+dw65bkCPPzApKM7/vswukciva6nw6pQW5fdCZpff8 OJRpjx84Jk3LVQQOH2sPmc2OFazBRXy2ykIQH/JqoJtWhObKO4yevORcDGl8zPNGlmn/ r5XYUjBqOkDP11ls6Mv4ga65QlGVUnK1s1eUXdulHpY6eSK/BiQ5BMM5tyLytDh1cMO3 wjPYIWtvmqL28D0IQNhU954NF70a5FeiJ9Jh0ZVLdAvTz03Q57QOL9QVseePQCTO8SY0 LHk6wFbUlzh1kuJci5liAC59oquwwqV47doUi5MSUEm/h12VHIY6Q9HKSsmQg4IMs2gQ jNcA== 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=qKx2DGfS1C19jw7NY3t4lVOTAQM2/ra3r7ahK7MpGHs=; b=U0FmxSWOzW4DDgRpZQmd/t3cMCl+bF6Hi/TFOUGGCngZP6r9xuOFEg1LOQKPEhwTlN +FdKd7iiC8Tn8Oj3c3M9R1sPy1P1QNkoCFP4VnXO5nTma38C5IpLgJAKe5Caj2ZIHGTr IMIJhHxaN3MVKSE3WRxt0Mf1S1hAjccmT0ImFkl6j/iasBrYuGPUKcXli/kpSsMD4KDK 468FBI6cDSFNCrXlROw/r11bxKdJnYKWNI1iWthSRlYh1lJfGNQKNPfi2F69fAoBXSvi x0SswDuzGA2S96EdkGZg6t4cKWJP0QhmduJCp9dS50w++PXK4Nc83NXaX/f7usFEE3+T llSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S8xRq3bI; 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 44si2847076plc.110.2018.11.20.20.15.04; Tue, 20 Nov 2018 20:15:05 -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=S8xRq3bI; 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 S1727430AbeKUOro (ORCPT + 32 others); Wed, 21 Nov 2018 09:47:44 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:43921 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727211AbeKUOrn (ORCPT ); Wed, 21 Nov 2018 09:47:43 -0500 Received: by mail-pl1-f195.google.com with SMTP id gn14so3503024plb.10 for ; Tue, 20 Nov 2018 20:15:02 -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:in-reply-to:references; bh=qKx2DGfS1C19jw7NY3t4lVOTAQM2/ra3r7ahK7MpGHs=; b=S8xRq3bIwvFh+q51xM+mEQ0+/8UD8797f5LcQc9wQknYLBr8VA1tfmeV82z4cgykj0 00vK0arCUCO6hRhIAKy1TaMyESdyeBY/d6CSsNRG5of22lKdhUG6QT92aNIdVdzxysB4 3VftsWe6PLMlIcjZ8G/4BwE2U8P3Vfe7E5C2Y= 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=qKx2DGfS1C19jw7NY3t4lVOTAQM2/ra3r7ahK7MpGHs=; b=cTi+sQt2i0WtN9mDdpkqRSkf0c1Z300Waf2RELhSzbS0w6XblWeXjIJPk8UKFgUqB+ fObyKGx9gOz9828PwZwK5WAQnyhGH9CgGYhk0Qls8jJ7XTYx+LFPDj4Utj5yH0ccvmuw LKVYkzrpiqGH1olVLa/gUpnZD4Xr/eLdTT9xVM0B9LhzwLUVRjCmLjIo4JxrpJxWF+8W lpP8kKr8hPAhF1HVL9cNqhV2JiKjp8h4IOZrhv0HqtWz+v0lwyRRNrfyBW8UrG4rMMkx Drs9jUdKdLxc8CXaLa6lZW0LxAMMj+ZBiY2pp7nut7VTXvg7iMNjEgYk9YfGUMObTRbW 566A== X-Gm-Message-State: AGRZ1gIYZ8JNZ5VA6krlk5uBEXwKNplKhfHBnly2Akh6jRA77At/synd u9wEi9b2rW84RYM3eQSDcyv6ig== X-Received: by 2002:a62:7796:: with SMTP id s144mr5145861pfc.26.1542773702000; Tue, 20 Nov 2018 20:15:02 -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 v124-v6sm10818712pfb.182.2018.11.20.20.14.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Nov 2018 20:15:01 -0800 (PST) From: Firoz Khan To: linux-parisc@vger.kernel.org, "James E . J . Bottomley" , Helge Deller , Geert Uytterhoeven , 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 v8 1/6] parisc: move __IGNORE* entries to non uapi header Date: Wed, 21 Nov 2018 09:44:25 +0530 Message-Id: <1542773670-25460-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542773670-25460-1-git-send-email-firoz.khan@linaro.org> References: <1542773670-25460-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 Acked-by: Helge Deller --- 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 bc37a49..fd1013f 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_ */