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: 147719 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2076917lji; Thu, 27 Sep 2018 07:25:13 -0700 (PDT) X-Google-Smtp-Source: ACcGV61PITvDHC03uB2ww3VriJbe+o9qyjoJ27uIZWlPJ/wUA6pjbz1fNk3I04HD0jaYdGNn05/w X-Received: by 2002:a65:4242:: with SMTP id d2-v6mr10520257pgq.265.1538058312910; Thu, 27 Sep 2018 07:25:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538058312; cv=none; d=google.com; s=arc-20160816; b=uegGZHYzi0IGfVJkk85wTgeZ9G4uxfWuj0SkQaNjLYbZ/5VEs2/4CCIYiyCxlVeRRP OgEomuK7Z9OaCVRMsj+I0bo2j1YrFY9aQt8zqMf2SR6bzJNtsL8PoKYxb1eoZw+Wlx2e 8UAWW7DeSv+SWYJvRxd5gJAn9rQQKbhsw10Viu0iOOkeileYJpjxfAdA+ntSmS/BJ+c9 Pd0Slamy+59YCVVJzzOhBRX2wYoq2SaQOXZ7CIWBOkzRY8un5puh/JolcmILR+x1+ijs +tr4x50b8jZelw7RySuECG0AzkXa7crNBhfQtdPb4K0cENi0NHbi6VzJ3arpdcbnMEy4 hT+w== 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=p45a/e2du0K3VOKtsUCRlFfXZHC5nty49NugILWrhhY=; b=O10foKRJRGzRfmbP01xm/0ZKyuJp+yqeSC+jl53UWe3e6qHbJk4LM1f59NpWX91yqS 0kiobjjMaqMAB1SmK8GDD3WWG+/4CzC8Vy1r1NQsGc1Bf4Hw0im4ikZ9txmQbuRtTG3z YK5zzhFqNt7/q+odYMABfc1eTIYdksTPswqEMJUts8XoLPrbeeY2SKFhvks+LE/AYA8P ATn4eqCY2CGRu/FHrDnk1oRHRKHPqirQl7Zfv+wUfSlG3/LXTN7bp+hIGX9vzLaqelCY wBmOT3jyVKpTfQVD7FbW+ltBh+9RuUpXByMSP2coiwO2typmfMAdWMfC8iwkLrvf+7Ux NzjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hp04tXel; 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 q16-v6si2109503pgn.86.2018.09.27.07.25.12; Thu, 27 Sep 2018 07:25:12 -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=Hp04tXel; 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 S1728087AbeI0Unk (ORCPT + 32 others); Thu, 27 Sep 2018 16:43:40 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:41174 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727873AbeI0Unk (ORCPT ); Thu, 27 Sep 2018 16:43:40 -0400 Received: by mail-pf1-f195.google.com with SMTP id m77-v6so2036370pfi.8 for ; Thu, 27 Sep 2018 07:25:08 -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=FjD5OOPY+q4ZV+3J1+peOb49KeQKqfyOLLAPP+ICXcz8eVx8sARwFRWFJT5DpXZQrC l6qfRL9iRqgPRDT4nao6Gp1gBSJQN4UUqEwvzFJJmttTf8iaIRewahxqyfzRRUevKdRi fKdRevAkMGLb+CdYsqVsnHwBOZkqY2Q9pFy7WPfIXVu2UfQoRRpH2H7sEHMfi7GWH3xx 6fUKvIyBBw8mWBn3t3fvCaFibMEsabLAKRHF/SJVE4CETgZLVHVAubxqwMGPihArFFtf F8EEAC7R+K0p4LO2VXJhZgwWlOyy6D8CwKAohpyDYrZxAM97AAX+7ntqZ9u/3q2gOEDU 4FuA== X-Gm-Message-State: ABuFfogzLPtAcuSy3eneTlRk1V26/7n6NxEmKWO7kpSgGHnLjHdhWEWG JQ+pSkDVRYu2XInuRVpgdy3fhg== 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-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 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(-) -- 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_ */