From patchwork Wed Nov 14 06:34:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 151035 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5324479ljp; Tue, 13 Nov 2018 22:35:34 -0800 (PST) X-Google-Smtp-Source: AJdET5f8H852AVsu2QAIT4n0Qwa6gIXIsLGJnkGieWTwZ7lIhhjIMjCNOr43LxaNptajmxavC5oh X-Received: by 2002:a63:dd55:: with SMTP id g21mr635477pgj.86.1542177334427; Tue, 13 Nov 2018 22:35:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542177334; cv=none; d=google.com; s=arc-20160816; b=ok9g+mUMxBT2BlNr7CdTfZaiDZhpfrLmvnxX+B7m5avXku8A1tUy8ku/HuBLhTclkg bkHXnAtmeDoZNy0yW2NH2h/G3M3uQ1OCp5u/TKGOrQ5pwQDx8rR6GB9m8lspkcvjAWZL xVuUNibGfOw3yy4ydHw5z8OEcOMWZTu03uqCX9vkJmfZ5nxf1kSMBHM9MPOwYqGE0Yi1 pyLJ70lJhNFtDOtouAFLS1JeEHXodnFd2Ta5KxT/X2VNmexzj0WDJEIbDcox+B+j9p7Y WNeADxK3jHmWIPGyEngfhd37bm+ZGdZMMIgSx7+gwRXsMWM79yvXKUtxABqa2oGvAGXi v2fg== 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=lGKo+uh9NavZlvOKuaLU75N20J3fUMTxzH93MDaDkDs=; b=Ddyxx8Xu1IQuES5c/vx6Br5rTh2GOsZqS5UMay5nbywyXkuXY5Tnyasc3yUx5uOuph 9ihpxTooilNCnK7BJl+dRGUCOfrVv+NgaD7drdilTmKddwmOBFl9ZEuhf3faE7UzsTyV wqYP0EjuyssAIlZc8t1FqkJUJArqSfCySkJ9hGotCXHhplyV/fO9BgGiDykl45qDt36S xhddFPGBGDesBw5VGcrl6EF/JPCvDFZhDTip+3DD+Ruomqlr00YGeSE3QdfM9hVBqmHk I/loi3xwYwQ3SWkrzLKG4cvdj/VjpjDpOLbDNPFPtabK44ALeNv8UJRDDcCafN76Zoir G16Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1GWDuAl; 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 p19si10709456pgj.375.2018.11.13.22.35.34; Tue, 13 Nov 2018 22:35:34 -0800 (PST) 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=Y1GWDuAl; 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 S1731754AbeKNQhW (ORCPT + 32 others); Wed, 14 Nov 2018 11:37:22 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:32945 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727375AbeKNQhW (ORCPT ); Wed, 14 Nov 2018 11:37:22 -0500 Received: by mail-pf1-f196.google.com with SMTP id v68-v6so7400827pfk.0 for ; Tue, 13 Nov 2018 22:35:31 -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=lGKo+uh9NavZlvOKuaLU75N20J3fUMTxzH93MDaDkDs=; b=Y1GWDuAld86OjV9Bjs0COTnY8phRH8oaFJ9w92/IjH71m/JyHrliot6Yw2QKktXHs9 wus/NzgH6gAD49t4nA6JOVVAmTUH1jhit0f7UA6nQ0QtgkjG4DNNt45Tovw2DPQXtUeP OyjB78JKvOeiuK1vNIyCTfwkn6WENetczng4M= 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=lGKo+uh9NavZlvOKuaLU75N20J3fUMTxzH93MDaDkDs=; b=ahpjbyOoKM2LzVEYmFBbedNLLaNJoo+bRmLrl8pdaqMKUdcaWu87HHlEW6FK/XqFvB QX+Oni5lo2O59FjpuDq9xFzd4V1vudNhvjW1HqRG7oJbVjpuFuzVWk1+7PYl6RMy/sa6 v31BvzYxulfi4QugTaTpQj07pI2KWfqIC3vRVTzCtWXZ4beUuICR8Ge8cLwPbuhULUII HvAiImxXNpe9UIMmc3KPGIobUVb6M8q9t5O/8H41+O9G51vfUZ0US/Qix8g4K4/kSi65 1x/GbGIg98yuxdLnrVj9cB8/qS41SQsUjn92/eN9XaqtaLZHehBVJQoI4ZYTt7GPXQbq BC8A== X-Gm-Message-State: AGRZ1gJhjg2LVAkP8AnuluMppyNuaPzu3hKukjSP+HyYyN19CTURdyfk ZfCNDg7qqS/LavPCwl93pE2xAw== X-Received: by 2002:a63:a16:: with SMTP id 22mr636960pgk.318.1542177331360; Tue, 13 Nov 2018 22:35:31 -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 l26-v6sm39097318pfg.161.2018.11.13.22.35.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Nov 2018 22:35:30 -0800 (PST) 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 v7 1/5] parisc: move __IGNORE* entries to non uapi header Date: Wed, 14 Nov 2018 12:04:57 +0530 Message-Id: <1542177301-25844-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542177301-25844-1-git-send-email-firoz.khan@linaro.org> References: <1542177301-25844-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 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_ */