From patchwork Fri Oct 26 05:13:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 149571 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp324663ljp; Thu, 25 Oct 2018 22:13:51 -0700 (PDT) X-Google-Smtp-Source: AJdET5dg1X9cNh8pkQIzhnvAkWMy2IbFmLIUa876Xtg6OvQDrm3oDhCWItfYveKjxGu556Y0y7nP X-Received: by 2002:a63:81c7:: with SMTP id t190mr2085431pgd.393.1540530831068; Thu, 25 Oct 2018 22:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540530831; cv=none; d=google.com; s=arc-20160816; b=NInGQCIqiNZd8iAJz6Uqx2I9xCWC1gWknNUj+TKpRAPFgrYXQ1MPQD9pntAtHVCRJq Jf1T8eji6vDlARtI1SqZGylA/IJgJ9ZZzfxtKaCHjUfgv4jJ2frdg3vFuvQpo0Ahr1Mk 72WfPEc3hTjtQIadqkmIvbTuJP0BWxMGNdxVeQXnfr/lCs18P2zNHSO6Rh7WrRtjL8TQ AoptxYhggutKkYA8SRWydas7FVDentC8chiAK0ybGVkN8CXgbCLv+ogfPQnYRdzgzpVd u28jytItpkf0c8ontgcjIoR1VKZe3z5QxO4KShLz/0J0pdvjr8UCehCd0CbgCcQypyxP U7TQ== 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=KU6DXIIYUjCMDre4JgDcgc8e7hiA/7vLtU/zXJn/n5E=; b=IK40BxUjsnG2prh8q0ZiCd+LCln2TF3MVlIuxkSdhAnffBDMsC52Cu/xE/mS1X3TBO QhUBRin3TcWCKvj5ZrkvsQD8vlSykDM/E1dYiwtAU7Qu8pbtO2uVzQghLpSLs1bzPrV2 PFsrfBNK0RWK1LLvk3FXufGEj9Bi0ChABvYGmNdKGCFbZDU1Y3jUHpN0PIHGGZXTBG42 WXA7qPKLc83q9manBuPPr+ttOkpTGaTaGEnTQXwJ6sYl1gWa6tKVl+5jrs13rxakBkNq kzPVmEAzsAioFr4473BqGk467mztw3uccuXLK1G19i9QB/drALmkmBORpuawmj2Hze8Q kXgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=joSUBbym; 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 s12-v6si10070944pgr.98.2018.10.25.22.13.50; Thu, 25 Oct 2018 22:13:51 -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=joSUBbym; 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 S1726037AbeJZNtS (ORCPT + 32 others); Fri, 26 Oct 2018 09:49:18 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37683 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbeJZNtS (ORCPT ); Fri, 26 Oct 2018 09:49:18 -0400 Received: by mail-pf1-f194.google.com with SMTP id j23-v6so5327937pfi.4 for ; Thu, 25 Oct 2018 22:13:48 -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=KU6DXIIYUjCMDre4JgDcgc8e7hiA/7vLtU/zXJn/n5E=; b=joSUBbymzWhrw4Ir4RK85fifCpmhjJy3C/aL/ReLcVVhQvvy5IGi6CtAqAGQV0IsEY pGaLS3CKahKx560UniiLK8i5Fug4ApjXVSlu6io/QvOd+EbMjaO2xlmqGfXj6oJE6ZXN FCmutICIRIvx+ZiqRC1W3mCQW8MKm4Pe+pwYc= 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=KU6DXIIYUjCMDre4JgDcgc8e7hiA/7vLtU/zXJn/n5E=; b=X7C7O1KXYGP9tFRcggCoQpPqkFlPAJXGQS5NZbilsInRPWjum1hG1ehz3UWgwj7mSp ANTay/Gfhvur7HFa1LBTcL65KyUZZJdPEZ4NNdWqphXhiUBb6ip7b5GK8nEx7KRBBxJU JWkd7Cpz5tWZkxq3PKTJZkT3yJXgw2SHgqNHGGVhVjeDCxGRak31F7dAT0x9au2sbmcM Sy1HtFC4rhwDG/tXtfua8iJ+45toOj5/6FgC4qTnmq8WseQfEuO9kWPmhifPvawC2hod fuakV5ZilEWPXrxBFuzLgfyFWvXpPp8a+skthOHQ5ZI/y8BaWINtokalXUl81zXUBrgz S6mA== X-Gm-Message-State: AGRZ1gK28bs83gkp7u+cbqsVuD/MNWpA0e2m3UIMiGNsXlRPV4YJsRPk LWjZjiOQsfTSlNF9qDc4XkEgBA== X-Received: by 2002:a62:d046:: with SMTP id p67-v6mr2277940pfg.147.1540530827984; Thu, 25 Oct 2018 22:13:47 -0700 (PDT) Received: from qualcomm-HP-ZBook-14-G2.domain.name ([49.207.61.165]) by smtp.gmail.com with ESMTPSA id m16-v6sm3329302pff.173.2018.10.25.22.13.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Oct 2018 22:13:47 -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 v6 1/5] parisc: move __IGNORE* entries to non uapi header Date: Fri, 26 Oct 2018 10:43:07 +0530 Message-Id: <1540530791-3961-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1540530791-3961-1-git-send-email-firoz.khan@linaro.org> References: <1540530791-3961-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 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 --- 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..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_ */