[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Compilation fix tpmback.c on ia64. Use pfn_to_mfn instead of
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |