Message ID | 1519908862-11425-2-git-send-email-alex.shi@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6B59160211 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 1 Mar 2018 12:56:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57FFA27FB1 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 1 Mar 2018 12:56:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C96028306; Thu, 1 Mar 2018 12:56:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AAE7B27FB1 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 1 Mar 2018 12:56:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/LLNTEgM2WC5sez3Y38iu6uGAWPb+hpnPlI0tp4DUA0=; b=hveXs/65bIe2Qh07LoZ8YC32h6 GCxc9LA1Oc3+VDJBO2d1x4mTDWcnrAp7DY02GltfDd3b6Rm9syLUV9JaY1fKt5M3HEa5PNGmGmW59 m7aYZygviiXpKi9KKVn81wJwwGgzfubyI9CaX+HCi8JHVCCwwGHzveHAzNwA5ZZLjDV3B4btI5Pte m1kugW0kKs1nQPfDx6rp0BvY9/5qJP/ro1NthciKWfF0pogfHp1ctes0I5teUN3kegJBUxRoWIw2I dgmd5e+qNtjOTHuIUZAhOenJXx3w33BEkFKcyZsx0blSI6cAUYNWzOJQmeENzaLPKJ5uPPC5bGlrw ScLRsxqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1erNkb-0000b1-VZ; Thu, 01 Mar 2018 12:55:58 +0000 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1erNk7-0000Cd-KR for linux-arm-kernel@lists.infradead.org; Thu, 01 Mar 2018 12:55:34 +0000 Received: by mail-pl0-x242.google.com with SMTP id w21-v6so3578501plp.11 for <linux-arm-kernel@lists.infradead.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=hTA+85+WOI3BWrwUhZUVNjL9xzhfkqsRYWnKzQTO4C4Tpd5yBvAWyIPpk8R/vazRGY UQoMnS/GL4F+YYTEqhCwXmQ0DplZYCD7iAZbJXIC19xX/44C8OBSS6LjueopAeKYdcTf jDOqjy04FZ0TecF6iqMIuJRPIErijFOHAC8fVAy04YIGymEcCkUbBpnuHPX9m8kyHMQT Sz4ywgVWOVCbIy8ccFvZBczmUOzkc6qr/J6pJ+njeiVbZdRTFNKqLCYKmEvZ14ATkt3C OJhpXJJdBBCheHTUVCSMWLwjwSwM1CBtVtokTUY4IyirVqz7xDekOZucyX28JhKjNZ7w lFNw== X-Gm-Message-State: APf1xPD/165+ALKyZHZoDSznBqpCe99qAgjBNrODJHCnJfAS3rS0UyFE /qI9XxYKmH4ZUnomYXZOfnLNVA== X-Google-Smtp-Source: AG47ELtE0egcSDkbOW2sCHkd+qP67Yy8XRiwKXOj8uugzbA1Z7v5lP+mIxWrJL5etdQlLFPpwgcOhQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180301_045528_273115_15ABDCB8 X-CRM114-Status: GOOD ( 12.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Alex Shi <alex.shi@linaro.org>, Laura Abbott <labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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.