Message ID | 20180412111138.40990-20-mark.rutland@arm.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp1571882ljb; Thu, 12 Apr 2018 04:12:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+fqoE9pGNZAOw9B54iSBttzQRL3V/6FOvd8Dcq3L8tV8yXV174XCe1PPnk9EPnHEEzc8DM X-Received: by 10.98.63.75 with SMTP id m72mr7217892pfa.167.1523531574642; Thu, 12 Apr 2018 04:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523531574; cv=none; d=google.com; s=arc-20160816; b=dWcoG6YvIkgWrlbVv+np0nqIUOQ+PrhpgLXY9JauvllRrPvUlLEbFrdGbk941G2S2S ZwQ86WRyLcu2obex3y4h6OSziaoBjijG/gKuL/O2fWNf3KHZvyDijvqWHtj3MjbKMHn4 EGlDGsRp5dQ5KHKQPeYHEM1EAdv0tM0ffTa+CeISgCOfHlHuQclQ8Kw9JQOr1Gwnhm6V 9vxVesAuoz1sXx3blA350wNXzAM7a/rlQCQPtfVjSL9I3w53uH7YHxN6C94Zup1xLI9w jp924fMYkV5vssalPTW9mQXodAztEO9kzrcq5E8MzHHaiovVibajbfkUbpsgtuSUkEUc q/UA== 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:arc-authentication-results; bh=URBRTsa8j4ghuDcjhYOJJOepEwhDl2vzW41OCpZKjfg=; b=oYNcWyzgV64om1/x0slko/HHPITxs/6Ugq/ndVjCqubdAPA1KwktWziPE9lC+IztWV VoOmryEDkkO5CAS6kctH7ZO4U9XGnx5jN+DHgziMInbgWyX5duIZxBQHfwwIkggVLyo2 UMdhK+zwyODbHH7x1sFV0DAyNY9j86N57CYQCVRcwWURdgC04QcfkjfEcfk59q7syQ/G Hyb82TkyC23MN18NdOFvg0bvPkaNOa6wzxM1q5MQDk+2AyAXrvMKFsjcex6/q5a8oe6s reAa5hYG/3iTb9c7WQAr8CMHNThM2VoXMDdt+P6lDC/h7L8LaFMPzysCzuwLKEiV6FYj OZLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg3-v6si3001807plb.118.2018.04.12.04.12.54; Thu, 12 Apr 2018 04:12:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752908AbeDLLMx (ORCPT <rfc822;semen.protsenko@linaro.org> + 11 others); Thu, 12 Apr 2018 07:12:53 -0400 Received: from foss.arm.com ([217.140.101.70]:59474 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752914AbeDLLMx (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 12 Apr 2018 07:12:53 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EB5D380D; Thu, 12 Apr 2018 04:12:52 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3C8853F24A; Thu, 12 Apr 2018 04:12:51 -0700 (PDT) From: Mark Rutland <mark.rutland@arm.com> To: stable@vger.kernel.org Cc: mark.brown@linaro.org, ard.biesheuvel@linaro.org, marc.zyngier@arm.com, will.deacon@arm.com, catalin.marinas@arm.com, ghackmann@google.com, shankerd@codeaurora.org Subject: [PATCH v4.9.y 19/42] mm: Introduce lm_alias Date: Thu, 12 Apr 2018 12:11:15 +0100 Message-Id: <20180412111138.40990-20-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180412111138.40990-1-mark.rutland@arm.com> References: <20180412111138.40990-1-mark.rutland@arm.com> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
arm64 spectre patches
|
expand
|
diff --git a/include/linux/mm.h b/include/linux/mm.h index 8e506783631b..4a07ff4f38e1 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -76,6 +76,10 @@ extern int mmap_rnd_compat_bits __read_mostly; #define page_to_virt(x) __va(PFN_PHYS(page_to_pfn(x))) #endif +#ifndef lm_alias +#define lm_alias(x) __va(__pa_symbol(x)) +#endif + /* * To prevent common memory management code establishing * a zero page mapping on a read fault.