Message ID | alpine.DEB.2.02.1405081653280.14596@kaball.uk.xensource.com |
---|---|
State | Accepted |
Commit | 1f53ba6e81749a420226e5502c49ab83ba85c81d |
Headers | show
Return-Path: <patchwork-forward+bncBDWMDO7X3ICBBIWSV2NQKGQEQ434U2Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9F4E420534 for <linaro@patches.linaro.org>; Thu, 8 May 2014 15:56:18 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id lc6sf8351276vcb.3 for <linaro@patches.linaro.org>; Thu, 08 May 2014 08:56:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:mime-version:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-transfer-encoding:content-id; bh=guVWA2Evzb94Uxx5huHUGH3ig7u37cr7kX9Az5NcQ24=; b=lxyMKD40TX0WSQx5u3g0c8/7FwiJQxFo7pU2u/exOJgHS+y8ORtYWXzzXXEymPHFe2 F3diO8MRFJ6i7cOMqbaikJWV98kB/deAOuaDVj9kWePV6xAoy5zXw6yXZxgTyz1W8Gq4 Ji8yv7w2wBEdtMIr6KhMIw9hQiu8e5VZ8/582Ok5iKIqwiI9VqJ5HvHQL9DJDcoiYuz4 Roe6XEjBg52UKofWCR05Rm3etoiL9aWYuCNo7DXm6BMPOnvka09glASaz1h+f/9RL1qC p1oDCzdcr17qcXBxc5UWgbm03ylnULwY8swBaEYPxPR+3WXP80P53E+tMiW5pRnsemzw g3mA== X-Gm-Message-State: ALoCoQl4upZh+ZT18jmi6PB1Yst3Xlt97qOLZKscyjnW6v44OXqsX9Tmv9vShI9rTdSSjuH/PhoC X-Received: by 10.236.136.231 with SMTP id w67mr1705005yhi.37.1399564578208; Thu, 08 May 2014 08:56:18 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.17.19 with SMTP id 19ls2651576qgc.69.gmail; Thu, 08 May 2014 08:56:18 -0700 (PDT) X-Received: by 10.220.250.203 with SMTP id mp11mr3745552vcb.2.1399564578106; Thu, 08 May 2014 08:56:18 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id gu9si239483vdc.214.2014.05.08.08.56.18 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 May 2014 08:56:18 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id jw12so3524946veb.34 for <patchwork-forward@linaro.org>; Thu, 08 May 2014 08:56:18 -0700 (PDT) X-Received: by 10.220.191.134 with SMTP id dm6mr3763811vcb.16.1399564577991; Thu, 08 May 2014 08:56:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp3599vcb; Thu, 8 May 2014 08:56:17 -0700 (PDT) X-Received: by 10.66.66.66 with SMTP id d2mr9271534pat.36.1399564576923; Thu, 08 May 2014 08:56:16 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id iv2si739605pbd.39.2014.05.08.08.56.12 for <multiple recipients>; Thu, 08 May 2014 08:56:13 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754889AbaEHP4B (ORCPT <rfc822;sandeep.tripathy@linaro.org> + 27 others); Thu, 8 May 2014 11:56:01 -0400 Received: from smtp.citrix.com ([66.165.176.89]:38903 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751776AbaEHP4A (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 8 May 2014 11:56:00 -0400 X-IronPort-AV: E=Sophos;i="4.97,1010,1389744000"; d="scan'208";a="129026747" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 08 May 2014 15:55:58 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Thu, 8 May 2014 11:55:33 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from <stefano.stabellini@eu.citrix.com>) id 1WiQfI-0005bk-JU; Thu, 08 May 2014 16:55:20 +0100 Date: Thu, 8 May 2014 16:54:57 +0100 From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> X-X-Sender: sstabellini@kaball.uk.xensource.com To: Catalin Marinas <catalin.marinas@arm.com> CC: Stefano Stabellini <stefano.stabellini@eu.citrix.com>, David Vrabel <david.vrabel@citrix.com>, Julien Grall <julien.grall@linaro.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>, Ian Campbell <ian.campbell@citrix.com>, "konrad.wilk@oracle.com" <konrad.wilk@oracle.com> Subject: Re: [PATCH] arm/xen: Remove definiition of virt_to_pfn in asm/xen/page.h In-Reply-To: <20140508110527.GE17344@arm.com> Message-ID: <alpine.DEB.2.02.1405081653280.14596@kaball.uk.xensource.com> References: <1397836474-10478-1-git-send-email-julien.grall@linaro.org> <535901F0.3010908@citrix.com> <53590845.1090405@linaro.org> <53591B8F.8070300@citrix.com> <alpine.DEB.2.02.1404251801060.8072@kaball.uk.xensource.com> <alpine.DEB.2.02.1405071234010.14596@kaball.uk.xensource.com> <536A1CF8.5000309@citrix.com> <alpine.DEB.2.02.1405071758070.14596@kaball.uk.xensource.com> <20140508110527.GE17344@arm.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stefano.stabellini@eu.citrix.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: <alpine.DEB.2.02.1405081653501.14596@kaball.uk.xensource.com> |
diff --git a/arch/arm64/include/asm/memory.h b/arch/arm64/include/asm/memory.h index e94f945..993bce5 100644 --- a/arch/arm64/include/asm/memory.h +++ b/arch/arm64/include/asm/memory.h @@ -138,6 +138,7 @@ static inline void *phys_to_virt(phys_addr_t x) #define __pa(x) __virt_to_phys((unsigned long)(x)) #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x))) #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) +#define virt_to_pfn(x) __phys_to_pfn(__virt_to_phys(x)) /* * virt_to_page(k) convert a _valid_ virtual address to struct page *