From patchwork Fri Sep 14 08:26:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 146685 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp423936ljw; Fri, 14 Sep 2018 01:27:26 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda8Z8m9C7Rn5/aeice1ZiOHNr4CeudeQSZInGhPq/VmDrV+/LjS/JFIjwOVKhqxWrSnP4O/ X-Received: by 2002:a17:902:8215:: with SMTP id x21-v6mr10838429pln.175.1536913646614; Fri, 14 Sep 2018 01:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536913646; cv=none; d=google.com; s=arc-20160816; b=e+kgKHAwd3EXpqlU+k+uCUHKowleUryX4K/wFiDdeC0wvXquCaLulMdSenj1DMIDLa A0w7dfo49/nHDlUWMu27oC6GNtGjouTn0qCbV7uVWW6DEbozzD/oB1i+1qUuqyJ6Ux4e 1ldtl8gAEc17DcZ4Ylhb4VJ9m6pNieYb1ibBonhRgEJxUNpxjz5wMdIodT13vx3HjSzA 772bj/fcrONC6alDhI0gal8dVrNXAweEeM9rtP4CP0+nWf2NhNVCfeT/Ydu8ysMeob1t dqXwjNSTDWi40Zm/YQP73vP/eHw7AaXzpxbhjOrHfEAXMu6NYoB2dq/h4BMv3t+UktZZ 2YEw== 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 a5-v6si6185053pls.389.2018.09.14.01.27.26; Fri, 14 Sep 2018 01:27:26 -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 S1728170AbeINNkr (ORCPT + 32 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(-) -- 1.9.1 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_ */