From patchwork Thu Sep 27 14:24:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 10618091 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 031D114BD for ; Thu, 27 Sep 2018 14:25:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E78522B893 for ; Thu, 27 Sep 2018 14:25:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB12F2B8A1; Thu, 27 Sep 2018 14:25:10 +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 82F112B893 for ; Thu, 27 Sep 2018 14:25:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727216AbeI0Unk (ORCPT ); Thu, 27 Sep 2018 16:43:40 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:33583 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727993AbeI0Unj (ORCPT ); Thu, 27 Sep 2018 16:43:39 -0400 Received: by mail-pf1-f196.google.com with SMTP id d4-v6so2067481pfn.0 for ; Thu, 27 Sep 2018 07:25:09 -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=p45a/e2du0K3VOKtsUCRlFfXZHC5nty49NugILWrhhY=; b=Hp04tXelDoxjmpjnvGyk1hbmHmr+mthqWJ0pcvHjEV1MfQ4YeGeZ6ZmDA3qms6BAdJ 3uHH4DaIb80ZpI/cy4V+562r6yG7jpGW38yQaiKnVEpP+2dvFsYQoPSOEHcFVNSGBHMq p3LVcf4DbI7D6VwtT1GuWIwNnDy2ajWis10OE= 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=p45a/e2du0K3VOKtsUCRlFfXZHC5nty49NugILWrhhY=; b=E499FWknH1kXv9EV8IzB3CHpgbExy5Rtng6Fp/MqBQTwc8YUHf86MiybWRGK0eLD2F xJ++A2HW6CfVFwg5+/zKK2xgaLqCDZnJR8tvy534sPCmnBnyp5ccjGp892e1FBwtxxfT naPlI+Yyj88WiBOXxDhh2QhAc3xO9t8VLgEO8I8caS6gyq5H01DDw72Q2hzCrecM/Tus h1fRZTzzJT/PyezzqvrWRqCqdmDQEMi1cfxmQfloWLnERl6sBIYO5YY5BtTDWJ+5NPEq MUR+uNTNA9XDqXSr1FxIVo6KK3YcJ4SLbpS8a+alb/SAMDKeARQ2ICFvxfK3OjWUxAVH p52g== X-Gm-Message-State: ABuFfojbVQAB+3m0ykHfZrboFcE/tQtwcrZ3dYqRL7CPsuYlHHhK8Od+ 4PdLsw5ySWr1QSdb7Q1cQrfNAcvn1PM= X-Google-Smtp-Source: ACcGV61+Shi0tUodVNrcHq1kqqZ7BVtB5nSbOH3nBXhNZZusVSMlPSrsmE8sFi6FCYsheg6EZzwfQQ== X-Received: by 2002:a62:ee06:: with SMTP id e6-v6mr11979421pfi.2.1538058308607; Thu, 27 Sep 2018 07:25:08 -0700 (PDT) Received: from qualcomm-HP-ZBook-14-G2.domain.name ([106.51.105.186]) by smtp.gmail.com with ESMTPSA id f81-v6sm9717421pfh.46.2018.09.27.07.25.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Sep 2018 07:25:08 -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 v2 1/5] parisc: move __IGNORE* entries to non uapi header Date: Thu, 27 Sep 2018 19:54:23 +0530 Message-Id: <1538058267-3765-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538058267-3765-1-git-send-email-firoz.khan@linaro.org> References: <1538058267-3765-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 moved to non uapi header. Basically 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 help to 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..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_ */