ia64/xen-unstable

changeset 9905:f06be4aeb1f1

Compilation fix tpmback.c on ia64. Use pfn_to_mfn instead of
phys_to_machine_mapping.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author kaf24@firebug.cl.cam.ac.uk
date Mon May 01 15:29:08 2006 +0100 (2006-05-01)
parents 7997d8f16240
children 798c1317f97f
files linux-2.6-xen-sparse/drivers/xen/tpmback/tpmback.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/tpmback/tpmback.c	Mon May 01 15:28:01 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/tpmback/tpmback.c	Mon May 01 15:29:08 2006 +0100
     1.3 @@ -297,7 +297,7 @@ int _packet_write(struct packet *pak,
     1.4  
     1.5  		pfn = __pa(MMAP_VADDR(tpmif, i)) >> PAGE_SHIFT;
     1.6  		mfn = FOREIGN_FRAME(map_op.dev_bus_addr >> PAGE_SHIFT);
     1.7 -		mfn_orig = phys_to_machine_mapping[pfn];
     1.8 +		mfn_orig = pfn_to_mfn(pfn);
     1.9  
    1.10  		set_phys_to_machine(pfn, mfn);
    1.11