Message ID | 1519633227-29832-2-git-send-email-alex.shi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3367868lja; Mon, 26 Feb 2018 00:39:11 -0800 (PST) X-Google-Smtp-Source: AH8x227xiMATmviO3U48g/62CzfO1gqahaPFjcR1GiKiusJXBokwjQhe+LOlwsR7gMpf/LO/XtdE X-Received: by 10.98.33.204 with SMTP id o73mr9912304pfj.54.1519634351394; Mon, 26 Feb 2018 00:39:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519634351; cv=none; d=google.com; s=arc-20160816; b=yQF6MO/ZPmZPIq+jXrVvV+Dilf+575e4coegsx4Md/mQgo0PSrHtq037UHcF8IlUpY 9RQq7wJ37h8Q8+tpHlSlzlH3itsnOtsNkXTdvNOsCw9WCvwG1oWfpyCh3EvTIuF/hpnG sRKSHjVtpexrN/jGNl7ULop2Xo7KSTkGhlGoPXuTSN0z5dGpwEn/IuJG4Xo92xy/uuXA FWzIVsItgjKEWab0Ixj1MpkORcCM28HwfgjQeDD9xG0CnQuxZsjttZxwT6O1RjHSF+VB WrSqBAw7dM5yzwe55LN4VodMEJc6ggYNLkQIpd7ACwy/2JsgL74gFiwc0WhjubhkYOV6 GqrA== 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=vODPmWDoYktC/pBIBRr42y65jxIZdnyyJIEIBFlJZ5g9mHSiqH5XrYQ94ZSzMVzzGl KyMpqaM8zu5wny4jAWmdGvcpkL+jHeCva8b7shmQQOk8uc9ogXFtwt6O95O6V7PHcFqn 3BB1JJ6ZITXBYiJytweN+M8Bf3JnQV2fUD0DhxBTWYhV1a8GkiOEQy70FF5U/nwuYnn8 0W1KVv3FVxDc3rs1rA61/7/A63gsCGMTuPSoLldi0Dbc/QGCy9MI/xTHLExe+XNsVSF3 Ui7TWQuO5HfOdLbqv0imC5U9h2x/H46kpT2p9vR75JGQEYJ8Abyo+gzpo0igMGQtQ9h/ k3qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BMCqSGmr; 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 i11si1205565pfi.388.2018.02.26.00.39.11; Mon, 26 Feb 2018 00:39:11 -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=BMCqSGmr; 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 S1752056AbeBZIjK (ORCPT <rfc822;anders.roxell@linaro.org> + 10 others); Mon, 26 Feb 2018 03:39:10 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:37479 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751567AbeBZIVP (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 26 Feb 2018 03:21:15 -0500 Received: by mail-pg0-f67.google.com with SMTP id y26so5909540pgv.4 for <stable@vger.kernel.org>; Mon, 26 Feb 2018 00:21:15 -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=BMCqSGmrderHIelq7P0/XNM0Gw1/I4t6N8Y2W0FKBy9v763WQZerCBfXz13oFsFayu yoFt35kIXJyQoufduZ1a2dSr2jPiOJOVjKqRHzdaNxaxvHqz2+VjAV3vgo2YZk5d9Lao V77TW6Qdzo7OR+yhOWhPZt8rBHgnlwCw8EkMU= 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=DUSyLFO6q2vumzzhWzVq/fejHKmp27balzXo/+dwZd4FmaNA5gaLvZpV2xJp0plnrv RVEdsTr1kdKLGKn1WMFBu4JSI/wSpnTm2mja2NG4uCI9SlnjqrwAdB8SVDAfXpKsdcL7 ydxxs+/SAHD7k30PJj1TWTaMrMpk/uHfyO56W+PlHUIuITs55rw+b8Far0ZAqJwDeWq1 K8Bzj47d4hfNd3JJzDJR6NA/vOkjNRWxUCUT1d408X/IXOvfeNPkTdReHoBcpDOjGx+t JWaT0QdD4EJqH+QD2P00Jn6O9KmVE1yMhUU8vbzTSF+ShLdXmmmMqObb5BYa+rz56TCu swYQ== X-Gm-Message-State: APf1xPAkWQUfqjOLHIT+E/bIBaoEzM0KY2M4JwrZncO8zIrBoZ62AK07 07Rj0UTGV4esNeRh83nOCVkpNA== X-Received: by 10.99.9.195 with SMTP id 186mr7733855pgj.152.1519633275074; Mon, 26 Feb 2018 00:21:15 -0800 (PST) Received: from localhost.localdomain (176.122.172.82.16clouds.com. [176.122.172.82]) by smtp.gmail.com with ESMTPSA id o86sm1422706pfi.87.2018.02.26.00.21.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Feb 2018 00:21:14 -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-mm@kvack.org (open list:MEMORY MANAGEMENT), linux-kernel@vger.kernel.org (open list) Cc: Laura Abbott <labbott@redhat.com> Subject: [PATCH 01/52] mm: Introduce lm_alias Date: Mon, 26 Feb 2018 16:19:35 +0800 Message-Id: <1519633227-29832-2-git-send-email-alex.shi@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519633227-29832-1-git-send-email-alex.shi@linaro.org> References: <1519633227-29832-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/52] 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.