From patchwork Fri Oct 12 09:43: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: 148724 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp519949lji; Fri, 12 Oct 2018 02:44:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV60k5vLpi7F6wtoQiBZBiuQnBQHjIrXqylQFVjaMfCyfQFB2dJmgHhz/SBPBEuJSXiSJJHJV X-Received: by 2002:a63:e347:: with SMTP id o7-v6mr4944471pgj.251.1539337489874; Fri, 12 Oct 2018 02:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539337489; cv=none; d=google.com; s=arc-20160816; b=jKTIXrus37Pgk4ysT7eTvOP/sJ3v/DSoa4GAYtZilwvjqDK2FlM/ge8pOv8WS9gCSD aFFm839ThJro64bBNiQwFyhBmMfmsMi8ka/qtz7bPopiDOwEFZT7nTjZTVEP3ui6HF+p sXAfcd3yt0CiYPioumne5WMGW43DpXiVdbRhm0BdetMBf6eu2Qc++L7k0WGdwz7ARs8M 80Q4mgSF98qAxngG8RKYUDiB1M8SCytRUcfS+qw8UcMNQw8EgOWUAnVCZNkdw5s7wFxL QDWBe4/7Uog1mO7jsLnGJ+Hjk2fjh7XVOkMGvVT+9r/43FZfKXX6UtEz/6Q4i9j9lKMO mvZQ== 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=eVc4Im/tlNb/+Q87+YSUnQ6E1heQGbWRIcznReQrtGM=; b=iuyMynXMa5WfHfgTvqmmUhenlU7hk6s6ix5exCEQygMgGTdtpTITt2BZJYpSbyfIxm yfTr4jU+3+omeYGRH60C3nuPJbAlWrDaWeh0HOLzTS8liEdef8PA2K8WmaVkb0oWLoTj Ic9neWMoodXA0M/TvjRyH12Jl1/m7akbNUHnBGiIkLYFAqi8x8X6cutTk4tIi/iPmtm5 K6cuRl2eYkynOdUsvI2GOsQqEbC0SQzjzex7HKsdHNkh0OY0uFuljVGEO4WV7zamD2/r +GLiWV0J5JUorVN9PdDX1jfGOa46jfNuZCh3OsLP9h7O6qibxZ8Jun3xjxlWf8elJlxk B5Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jsTij8O5; 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 p9-v6si889632pli.395.2018.10.12.02.44.49; Fri, 12 Oct 2018 02:44:49 -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=jsTij8O5; 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 S1728359AbeJLRQW (ORCPT + 32 others); Fri, 12 Oct 2018 13:16:22 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41560 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728262AbeJLRQW (ORCPT ); Fri, 12 Oct 2018 13:16:22 -0400 Received: by mail-pf1-f194.google.com with SMTP id m77-v6so5919449pfi.8 for ; Fri, 12 Oct 2018 02:44:47 -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=jsTij8O5YnLoI7FpArSnzHoCFW4SBVzcFrAUDNh+4a5gaAXcU0dcCiwyI5bK3KoFsx TkNxgTnvML3kJW6vW1xbn+c83oUtFkJmPRBqY6KD/m8McvoUfEqTYNbw6vp8XrcyRKOa OiYJYHE41od+I52BhbYfNfyZdE/x51bwV/XTM= 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=t/yPPmfBkzYAZIH9hBsiuGLxJGJfn4W+Dv8+qY7BeyTFi/tPo5Yp3kJeNbRdw4coyL Q0HmfJvHVgJL1plKVTSslrIgEtXx/Xa5/jPjaXNwB/ASiNlFR8m2alvVF6uAyPG0kGCN +MI1nWEd7yQrIfy5iG2tz5uxhws29aG+mnlbS29nHIWd02wnkLuNSIbTQ/cY5h/B700p 1KHLtW09pjo+l11PC2WbIeIRt0Dn+MBW9ZAu1IClAZs3bd7nsWy8P1CuKvb+BOIKxxfh ko87dJ9Z+b5+xW8ROh8m1if+YarJe8ba+hCrxAxWdIeTAipPwdUbdXgY45edD/SRbLfQ Q9dg== X-Gm-Message-State: ABuFfoio/tEU666Bm5LDcCFO6e1B10zW1xT5l7kK1kYuCY6OWkwcAcN/ qCCWzdmKGdjRfGgVBfXNcFMFWg== X-Received: by 2002:a63:6883:: with SMTP id d125-v6mr4849471pgc.451.1539337487290; Fri, 12 Oct 2018 02:44:47 -0700 (PDT) Received: from qualcomm-HP-ZBook-14-G2.domain.name ([106.51.108.175]) by smtp.gmail.com with ESMTPSA id j19-v6sm1254191pfi.137.2018.10.12.02.44.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Oct 2018 02:44:46 -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 v4 1/6] parisc: move __IGNORE* entries to non uapi header Date: Fri, 12 Oct 2018 15:13:57 +0530 Message-Id: <1539337442-3676-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539337442-3676-1-git-send-email-firoz.khan@linaro.org> References: <1539337442-3676-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. 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(-) -- 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_ */