From patchwork Mon Jul 16 10:23:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 141987 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2242291ljj; Mon, 16 Jul 2018 03:24:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdzacTEfjYHkB6w26xacI7u03ewgyDptSRpMZIm6Agd0jW5/F00WZrAds7Ses/a/J68HCwH X-Received: by 2002:a63:1403:: with SMTP id u3-v6mr14947278pgl.13.1531736681507; Mon, 16 Jul 2018 03:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531736681; cv=none; d=google.com; s=arc-20160816; b=k2yBUPrkT0czf2Q0fvbhw1+esxEddF0ieRaVhc7GUfm7t6gkT4XGkXXBwbrvpC0ghn Zn6k2ccMCkHzXDsKgL2ndPCqzIpxNnp0lSeWfK+iLzCReu/BH9zLUykqSKnyDiprH44w WOLTIKDNu1/e99X6lSRP7tRjjVae3FFcMHDNogU5fcl9/cZ9mFF+D+br0VZ9xavUvo4h B7az96Ywc9zDhp6rkqAzoiBK0FwnV0U+cku7Xpf8CXb+jYjJCNTa8VcxvNIg1pYHQvcr nhnhA428al5giVlpfFlBjaZ6X9fRbGjtVjvbqmmoQwL1q5/DRRAnGrBY2K99W0e8CuQW dioQ== 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:arc-authentication-results; bh=OIqLEvxGHoGaz5CARvu0QXTzU2PXIGzQEJ9FoygLNZU=; b=etXlNHYvOA5BvzV8f6dIis8g7lcJGvWPsEO+d8fKSIDrV9fbJibL+G35TWadNx609G +KIevQE+ozsauWUX/uBbO0Y3YyAigjEb/BgqLEBsDsq+xRxoO0GdUBx7hZQJLyKBT2Py pP/ii59biHX6w0BpIwjoes65gAOicqGu8Flrxlx7CUTzY8DXvDhxlOT7J9d2wG0/5fAR IxfXHk1kxb/dJ1uapA0Gz/3GDS7ogOFHxkJsxRqfBjQEDTCnDgv34ClDz/RqvEXwQHVo NltQLfZfs3i46cSyNxbVjoPUAB/qA39F0nqKv6b+hYJ7GOW7TrUYgfoRicyNnB+IpOzB Su6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aM4nHyLO; 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 n68-v6si28469853pga.662.2018.07.16.03.24.41; Mon, 16 Jul 2018 03:24:41 -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=aM4nHyLO; 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 S1728160AbeGPKvX (ORCPT + 31 others); Mon, 16 Jul 2018 06:51:23 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:33538 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728026AbeGPKvX (ORCPT ); Mon, 16 Jul 2018 06:51:23 -0400 Received: by mail-pg1-f193.google.com with SMTP id r5-v6so7281913pgv.0 for ; Mon, 16 Jul 2018 03:24:39 -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=OIqLEvxGHoGaz5CARvu0QXTzU2PXIGzQEJ9FoygLNZU=; b=aM4nHyLOCktlRQDTYz3Zp1dwuizpwBobQx8XgtbxwxMXWoNNnqTbrpmmoC0Cgkql9R KMvEmipiTsB2pyubaWzfj9TrdFgHWyoDelj77r24QwlQShsZphtuDINtbyYh0QOGDtjU ZZ2oaGqi7cj9QZhaFJ7MfCvS9AC64qxLfSl6E= 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=OIqLEvxGHoGaz5CARvu0QXTzU2PXIGzQEJ9FoygLNZU=; b=cOOcl+fvqTrAiGHl4szqMruikuAEn1sE0zrSPi8+hHOqjR4L+8PhWhlqz2nrI9y0zc +5WTtlk7lyJEN6ziOSw+TAA+ZkYL5aAw+fFmKExxA2lNl9W4AdEaYAc1AbDO3xb/DO7r xzjVXWv32kovvp16WsQiHTi7lbenmAkMFbVMHiPxpA8/jibMFIGHseIFsCUuLryuI7Xz e/DbImnmOxUgjMtoEngkv1UJu+/amrwwazMNfUT5zZRsvJCuYCROXFNz+UHBHP0+SmYp 1zZpw6ne3f3FbDczUCaDiTbV1hNaRdlqTzyE/sSzCcjaDji8u2I6Hc/GIVI5di9CMlst q71Q== X-Gm-Message-State: AOUpUlFN91TDw/v4v/sjAK+WdiJy3PPkxd8B6B7w7soZO2ytqgxA58l5 SBFsmMX3fRTyuL+BqCy0964yEQ== X-Received: by 2002:a63:f953:: with SMTP id q19-v6mr4054988pgk.292.1531736678811; Mon, 16 Jul 2018 03:24:38 -0700 (PDT) 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 l27-v6sm17808087pfi.42.2018.07.16.03.24.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Jul 2018 03:24:38 -0700 (PDT) From: Firoz Khan To: linux-alpha@vger.kernel.org, rth@twiddle.net, ink@jurassic.park.msu.ru, mattst88@gmail.com Cc: y2038@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, deepa.kernel@gmail.com, Firoz Khan Subject: [PATCH 1/6] alpha: Move __IGNORE* entries to non uapi header Date: Mon, 16 Jul 2018 15:53:53 +0530 Message-Id: <1531736638-15294-2-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531736638-15294-1-git-send-email-firoz.khan@linaro.org> References: <1531736638-15294-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 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/alpha/include/asm/unistd.h | 5 +++++ arch/alpha/include/uapi/asm/unistd.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) -- 2.7.4 diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h index d6e29a1..1d19087 100644 --- a/arch/alpha/include/asm/unistd.h +++ b/arch/alpha/include/asm/unistd.h @@ -17,4 +17,9 @@ #define __ARCH_WANT_SYS_VFORK #define __ARCH_WANT_SYS_CLONE +/* Alpha doesn't have protection keys. */ +#define __IGNORE_pkey_mprotect +#define __IGNORE_pkey_alloc +#define __IGNORE_pkey_free + #endif /* _ALPHA_UNISTD_H */ diff --git a/arch/alpha/include/uapi/asm/unistd.h b/arch/alpha/include/uapi/asm/unistd.h index e153ca6..3bb6ac1 100644 --- a/arch/alpha/include/uapi/asm/unistd.h +++ b/arch/alpha/include/uapi/asm/unistd.h @@ -481,9 +481,4 @@ #define __NR_pwritev2 521 #define __NR_statx 522 -/* Alpha doesn't have protection keys. */ -#define __IGNORE_pkey_mprotect -#define __IGNORE_pkey_alloc -#define __IGNORE_pkey_free - #endif /* _UAPI_ALPHA_UNISTD_H */