ia64/xen-unstable

changeset 10432:59be60d5664b

[IA64] fix mfn_to_local_pfn() for dma context

Thanks to Kevin for tracking down this problem. This is a temporary
solution until we come up with something better for ia64.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Tue Jun 20 10:40:14 2006 -0600 (2006-06-20)
parents c974a6e3f517
children c5005be9ef91
files linux-2.6-xen-sparse/include/asm-ia64/page.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-ia64/page.h	Mon Jun 19 14:55:13 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-ia64/page.h	Tue Jun 20 10:40:14 2006 -0600
     1.3 @@ -331,7 +331,7 @@ static inline unsigned long
     1.4  mfn_to_local_pfn(unsigned long mfn)
     1.5  {
     1.6  	extern unsigned long max_mapnr;
     1.7 -	unsigned long pfn = mfn_to_pfn(mfn);
     1.8 +	unsigned long pfn = mfn_to_pfn_for_dma(mfn);
     1.9  	if (!pfn_valid(pfn))
    1.10  		return INVALID_P2M_ENTRY;
    1.11  	return pfn;