WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Compilation fix tpmback.c on ia64. Use pfn_to_mfn instea

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Compilation fix tpmback.c on ia64. Use pfn_to_mfn instead of
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 01 May 2006 16:04:09 +0000
Delivery-date: Mon, 01 May 2006 09:07:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID f06be4aeb1f1f823a023f4135dcda260d07495fe
# Parent  7997d8f162404327c45f59ac4b656e8c83565231
Compilation fix tpmback.c on ia64. Use pfn_to_mfn instead of
phys_to_machine_mapping.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 7997d8f16240 -r f06be4aeb1f1 
linux-2.6-xen-sparse/drivers/xen/tpmback/tpmback.c
--- a/linux-2.6-xen-sparse/drivers/xen/tpmback/tpmback.c        Mon May 01 
15:28:01 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/tpmback/tpmback.c        Mon May 01 
15:29:08 2006 +0100
@@ -297,7 +297,7 @@ int _packet_write(struct packet *pak,
 
                pfn = __pa(MMAP_VADDR(tpmif, i)) >> PAGE_SHIFT;
                mfn = FOREIGN_FRAME(map_op.dev_bus_addr >> PAGE_SHIFT);
-               mfn_orig = phys_to_machine_mapping[pfn];
+               mfn_orig = pfn_to_mfn(pfn);
 
                set_phys_to_machine(pfn, mfn);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Compilation fix tpmback.c on ia64. Use pfn_to_mfn instead of, Xen patchbot -unstable <=