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: 10629993 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6AD8013BB for ; Mon, 8 Oct 2018 05:17:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BFF826861 for ; Mon, 8 Oct 2018 05:17:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4FE362847A; Mon, 8 Oct 2018 05:17:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F016526861 for ; Mon, 8 Oct 2018 05:17:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726582AbeJHM1T (ORCPT ); Mon, 8 Oct 2018 08:27:19 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:33241 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbeJHM1P (ORCPT ); Mon, 8 Oct 2018 08:27:15 -0400 Received: by mail-pl1-f196.google.com with SMTP id s4-v6so9501212plp.0 for ; Sun, 07 Oct 2018 22:17: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=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=ZaO4IdrBar/O65Oslg8xyj65FjaIs8bGhXEHA6fesez7iyQ+8buEeWKAXvxgsIYKsL LrC4+CotgbKnQVusevWGsf64CzqAN2A3kA2lwxUamM6VcxtmwCxltiWXPTj6Yt2EAMSG WfacdGkOjszKeTuw6zFjwnHRdV0hq0XQXfEumrWlJAw8te8cfLWQZg7zWWgftMJj8+oS LvFCdW25pg1iY/hVg92K8tp4ZXfhFqNv7fj+CS+SXVNQ6Bmr7UpdzT+iAYWjJUqVWxNR ++PRJmmUw0gp9eR3K+fKxBh/pdR2Cidw1Qb2gYkVOtBIfiqF1PwupS3U0C1zMIbD6y3N wMTQ== X-Gm-Message-State: ABuFfojZZw48TINAbeWpxgCHLgs2hBtLcE4UmGNyz5vvem9U0JIChdzG 4xAIqiaZZJVUrLqgwZ0C2+LbqmxQSiM= X-Google-Smtp-Source: ACcGV63HwWee89JOu/tQMZC0DT1DTgLKCbbcBV+UNp9noWbIJ+pOv3yc/u8rU+hSghWQZVSi4zsbSw== 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-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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_ */