[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] fix mfn_to_local_pfn() for dma context



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 59be60d5664ba0799f24aecb09cbe62d89f324aa
# Parent  c974a6e3f517e695521e49bb767663631a2b8364
[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@xxxxxx>
---
 linux-2.6-xen-sparse/include/asm-ia64/page.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c974a6e3f517 -r 59be60d5664b 
linux-2.6-xen-sparse/include/asm-ia64/page.h
--- a/linux-2.6-xen-sparse/include/asm-ia64/page.h      Mon Jun 19 14:55:13 
2006 -0600
+++ b/linux-2.6-xen-sparse/include/asm-ia64/page.h      Tue Jun 20 10:40:14 
2006 -0600
@@ -331,7 +331,7 @@ mfn_to_local_pfn(unsigned long mfn)
 mfn_to_local_pfn(unsigned long mfn)
 {
        extern unsigned long max_mapnr;
-       unsigned long pfn = mfn_to_pfn(mfn);
+       unsigned long pfn = mfn_to_pfn_for_dma(mfn);
        if (!pfn_valid(pfn))
                return INVALID_P2M_ENTRY;
        return pfn;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.