Message ID | 1519908862-11425-2-git-send-email-alex.shi@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2760206edc; Thu, 1 Mar 2018 04:55:22 -0800 (PST) X-Google-Smtp-Source: AG47ELtru6s+JajJib6w2WLA7/e3EOyRWA2thLREVPKX5deqFe6eQoQZxR9CMD2lgkD02X8cMxaz X-Received: by 10.99.175.8 with SMTP id w8mr1458968pge.390.1519908922208; Thu, 01 Mar 2018 04:55:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519908922; cv=none; d=google.com; s=arc-20160816; b=PeUOjSpuMf4yK5FPahXje5V0hvNyFgeBuzZhJXjRjEWIAzhBbj7+mmqmqIZrtDXvfY ZotW0eWyD1QLuA4WzlsbLWLnvlU7wagUtHq+Vo8eFjsUkBK2B115g9ZK1bufuHxTynn9 Rf2ay05+J3GI5laKUiaBua0qD2MKoB9Eiw/ok6BHJ+jl5ptii/VYSHbJQdle5uGSTznt TwW8DCBHBO8fij/ocWluwR3NW1jmFvRkkbie6XD5kAf9OmZ79uH7G2nK2Z+OjsjlnZpJ x+fNBcNtMZEPGMz3PLxgcKlz32TzJ8XsrNp1BN29E7ivWdGBhgpQv5SRWjNo3gvei8ys grSg== 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=Bg7B0hfDb1LbDSK0bEabGd/Si+r1Y+auDWs+NQonZeA=; b=BSnsgeNO3S+Qw2iiLaxyURV5uLy1dRDmReEcI7aIkpagySKdNIT8Xp6TqvCXhFRHKb 6+rUZv/C6sW2HVIcD5pIivZ8jSMmgWzOKHqL+tYUxi1P/GDNQvnjxVdnyKsIpOd7IoJb 6CmTkmLBAq8nerB5GIge0zic9No3S8nWc0eA0jjmB8YO5h/rAnWx4r729rMzxWRyrlzC Qk7Ymb5g5xYzyFeTZdOSPw8BwLcKjki4WndliiO2zrx9HL7nmHh7keCcnYFI4NBfTuYr nsZp0YWkxBmF0f52xdQKv48+JkaaHwGELf2xIDiEKo9p4AtOG19J7ghN5FUDEVRrOhSe Y/5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Em5SaGCp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 u3-v6si3034836plz.494.2018.03.01.04.55.22; Thu, 01 Mar 2018 04:55:22 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=Em5SaGCp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030486AbeCAMzT (ORCPT <rfc822;anders.roxell@linaro.org> + 10 others); Thu, 1 Mar 2018 07:55:19 -0500 Received: from mail-pl0-f65.google.com ([209.85.160.65]:32852 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030549AbeCAMzQ (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 1 Mar 2018 07:55:16 -0500 Received: by mail-pl0-f65.google.com with SMTP id c11-v6so3601997plo.0 for <stable@vger.kernel.org>; Thu, 01 Mar 2018 04:55:16 -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=Bg7B0hfDb1LbDSK0bEabGd/Si+r1Y+auDWs+NQonZeA=; b=Em5SaGCpHMUEesTntDI1e6IAQipJqfwccY/fZosi0Moa8emnCtEbFUQ2X3iwxzP5vJ 1LTBfEaeIhO+NplLsnd+skz3Q6gQUXR8FDC5jNmIw6r/bXo/fiy7RdOWEAjoPIy5e03t QiyMpjvHHS0VdERDPEMW6Cn7YP8k2AWlJ8hYY= 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=Bg7B0hfDb1LbDSK0bEabGd/Si+r1Y+auDWs+NQonZeA=; b=WBKLbEIW3bEA37efZ3i+YKhMb9KfGzWZoPJkHwd+uqv1sBnMLpLgcGu8RTCVDZ2lpI lJ1LbNXsAfmb6fZ8jKa4i/miqEo2meA0p0vA+kF1DL5c74VA3ONPh0GmqdRFCzf2L07O UAUXYyJzopC3n158M5Hlmk/1RtSfNbTNh1zoc9cEUQdUOCLRlb0FdQ7efHRF/jD3wddg nfmTZcUPlUHb+eAfFtbQHSJYVKYRo6ZlV+fCMtXYr8O1z1Qv8N2+JtFK/yONSmavd/8c BmwbxbHhVD05NW6+VedRiRsExtGKkhHZYvAi6pMmgJtDiVnn2lCvppTV/XRe08wTB/fr NiZw== X-Gm-Message-State: APf1xPDYpd6jLJdRL/qsvZVNfHnu+SvgCEfL9gHiHYVyGeOdgQ+bIu9o U3BQtNLLCXcfs/WkQKfOspHZUw== X-Received: by 2002:a17:902:e85:: with SMTP id 5-v6mr1849535plx.420.1519908915951; Thu, 01 Mar 2018 04:55:15 -0800 (PST) Received: from localhost.localdomain (176.122.172.82.16clouds.com. [176.122.172.82]) by smtp.gmail.com with ESMTPSA id x4sm2289655pfb.46.2018.03.01.04.55.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 04:55:15 -0800 (PST) From: Alex Shi <alex.shi@linaro.org> To: Marc Zyngier <marc.zyngier@arm.com>, Will Deacon <will.deacon@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Laura Abbott <labbott@redhat.com>, Alex Shi <alex.shi@linaro.org> Subject: [PATCH 01/45] mm: Introduce lm_alias Date: Thu, 1 Mar 2018 20:53:38 +0800 Message-Id: <1519908862-11425-2-git-send-email-alex.shi@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519908862-11425-1-git-send-email-alex.shi@linaro.org> References: <1519908862-11425-1-git-send-email-alex.shi@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
[01/45] mm: Introduce lm_alias
|
expand
|
diff --git a/include/linux/mm.h b/include/linux/mm.h index 2217e2f..edd2480 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.