Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp487419imm; Fri, 14 Sep 2018 01:28:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZx6o0s83NN4ZrZuVTEJey9l3KNskmqdjCjHRlQYw2nKJh2FmLkCF/HyOc4+hf1CGzlYXOz X-Received: by 2002:a17:902:748b:: with SMTP id h11-v6mr11115002pll.192.1536913688084; Fri, 14 Sep 2018 01:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536913688; cv=none; d=google.com; s=arc-20160816; b=VoplG/jCKWRPKHyNNY0WTb+jKzcLdb5d/dzRfnEHGjBuH2fL0oG4KvlZZe80P3ehEg 95ciSVnxC8AhOASOZdgPATLPs01V2Niek5UB7FLsmrXkKVD5ijIyYRg8Z91kepEYGdRT gEk3Rrpr+9HIp/yL3jwKUg1X3M8dVOuAbwrlZHlGIvYd1nFYrk/jLFaujJ5BI7DNvZ7R YRNbx3rxAoor1a+Z42laSLv6rKAnyXf6NYy6S8NrQYeBFsE8J6bKXJVDFai9iokXg4ky 6JRTInKbJifVjUklLEal9IrcD3ieChd9qcV3Cwa/l2T/N6yKIB8NgydWptqudkSY2uqb ITCw== 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=MZaHj8J1zXAeXdwHoWi62dASpANMGH5B+ollkuVTPh0=; b=b2Dd5RWmpbrwtdELU+ap4crPhw2dnKMPMC4fumuNcYifMsXLtNfhcswAMf1pBxmS/r ZmfwxgtWzY+uTHUc+m5EWBsQBCojl/5AU8eoP6ciUc+7WDTncKnVKXz0l+UqhBnrR2lM 9AwK7IoC8o216B3p++5h8ajfVFpvNQEK7Ms3+n8VdAr7DWNZ3iSNBmVwMENORuYAI4g7 f+a1IEBzc0x0mXqF4a9T5oyHC6yEQbx1wo960KvJsf6keau5RONcWj09fZfq2/RVUgfY lYOuG/PAMv4UzXlHBwAUDb+InEBRi6FRm77VquNRklFluUdwXnen34npKktzn0h5LMTO FFeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ReRJhFlI; 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 u70-v6si5982979pgd.296.2018.09.14.01.27.53; Fri, 14 Sep 2018 01:28:08 -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=ReRJhFlI; 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 S1728165AbeINNkr (ORCPT + 99 others); Fri, 14 Sep 2018 09:40:47 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:33206 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727839AbeINNkq (ORCPT ); Fri, 14 Sep 2018 09:40:46 -0400 Received: by mail-pf1-f194.google.com with SMTP id d4-v6so3976975pfn.0 for ; Fri, 14 Sep 2018 01:27:24 -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=MZaHj8J1zXAeXdwHoWi62dASpANMGH5B+ollkuVTPh0=; b=ReRJhFlIE1rwNnRZhQTD256roF5vNFa0NoCjDeupyccqAHtW/xTlwy/deOZeKBnNpm cHN+u3uLhOdIC2PqRY4aswuk1u3o0WTg7+n60B2ujePxtWyvcoAjAEKBkTZ6dE1B+gcY q0gg4Y1AaODXRPg4rpkXKKlr8dgAQnnBKijRo= 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=MZaHj8J1zXAeXdwHoWi62dASpANMGH5B+ollkuVTPh0=; b=a6I8pimtjH95j68sEAKnC6Pq3G/nlxyrlZKjkutkus3oR9IBtvEWbETjjB9Lp2MsM5 ZDvk1hahf+cZ0P4vYK+KI6SQNWHBQPZhNCmM683WkhSPVtgmv1gm+zU+YuOdjoIphA2A ed2gxokWxGj2VDBE9XQ4BFLfQY5l6XLtmnDUsvp5nMn2We0L61DAfvJQgT4FzGGJ6DLX vtjt7G1PnD6yvVtMF2J1WmYwSRF+qc5OxepJNHOHS0v/Y1EReRGePBfguc+xR84UduQH CAF2qjhnKXNteohAFOkgaMsQs/mAJ5+n1P1j5Ye46PFA3GefmuFQC2sNL0dQBo7bbNmx pC1A== X-Gm-Message-State: APzg51DYmR/7lAF7kXJcAPbSx583cw/8IiFyaJTur17cYreOUNG5/zph 6WQkCZVCNl4ypGrsixAJuXKm/g== X-Received: by 2002:a63:e841:: with SMTP id a1-v6mr10537822pgk.126.1536913643788; Fri, 14 Sep 2018 01:27:23 -0700 (PDT) Received: from qualcomm-HP-ZBook-14-G2.domain.name ([49.207.60.83]) by smtp.gmail.com with ESMTPSA id q80-v6sm8919855pfd.15.2018.09.14.01.27.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Sep 2018 01:27:23 -0700 (PDT) From: Firoz Khan To: Thibaut Varene , linux-parisc@vger.kernel.org, "James E . J . Bottomley" , Helge Deller , 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 1/4] parisc: Move __IGNORE* entries to non uapi header Date: Fri, 14 Sep 2018 13:56:40 +0530 Message-Id: <1536913603-4584-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536913603-4584-1-git-send-email-firoz.khan@linaro.org> References: <1536913603-4584-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 and it is not used by any user space applications. One of the patch in this patch series will generate the uapi header file and system call table file. So if we move all the __IGNORE* entries to non uapi header, it will simplify the uapi header and system call table file generation script. 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. 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(-) diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h index 3d507d0..fc71edf 100644 --- a/arch/parisc/include/asm/unistd.h +++ b/arch/parisc/include/asm/unistd.h @@ -165,6 +165,12 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) \ #define __ARCH_WANT_SYS_CLONE #define __ARCH_WANT_COMPAT_SYS_SENDFILE +#define __IGNORE_select /* newselect */ +#define __IGNORE_fadvise64 /* fadvise64_64 */ +#define __IGNORE_pkey_mprotect +#define __IGNORE_pkey_alloc +#define __IGNORE_pkey_free + #endif /* __ASSEMBLY__ */ #undef STR 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_ */ -- 1.9.1