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: 10691913 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 C46445A4 for ; Wed, 21 Nov 2018 04:15:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AFDA82B33B for ; Wed, 21 Nov 2018 04:15:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 99A4C2B333; Wed, 21 Nov 2018 04:15:09 +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 3613B2B32D for ; Wed, 21 Nov 2018 04:15:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727211AbeKUOro (ORCPT ); Wed, 21 Nov 2018 09:47:44 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:41945 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727325AbeKUOro (ORCPT ); Wed, 21 Nov 2018 09:47:44 -0500 Received: by mail-pl1-f196.google.com with SMTP id u6so3498858plm.8 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=PZEAqPU1u1RU4oOlcMp1fkb1YKYSqcsAWKliouZl7j+wbqB2QFlpKj7LGiRBWAESpg g0PiCpxB//j8gk0ZTZk5n2Lx/gk/I4VtX633c/XlgtN2cnp8irKWiTLLdE/mw1y4uaQA oAZMb+k+oq63sBeTflf+KIDM1aqp7WxyZM3bFyyhkiDSeWRZqFf3q1p+VjIE7id4zRrn KWciNKfdh5P966DC8VII/hy4IxPlnshLeQNNbwTXPaCqt797IFGBOrQvKyY3R0hhOUUN XEZD9mJhdr86pO5tZnApvef1SKdlVN3nG38z2pAzmsyLPBXZ+9hec6XCIobUgjjNg89E +q5w== X-Gm-Message-State: AGRZ1gITVuC3Vgcqvn2Rf8OwvIJNdUZ55r8aB1LEIzGOCU0VCFPFSlui Jwy/FucQ+vbfP8gcF/aLPh+7GMrWhHM= X-Google-Smtp-Source: AJdET5ddLclCeat1blKGPm4KpoNMiXmY5c993EK/mlk9aG7vmpK4cNSDb+Y+knlWamnjRfcI6tLgjw== 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-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 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(-) 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_ */