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

[Xen-changelog] [linux-2.6.18-xen] swiotlb: dma_addr_to_phys_addr() should be static.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1184081555 -3600
# Node ID b3c2f84be0bb38ee8570d1a7cbf5191291bc84f0
# Parent  06cd871a5a98d82bb8a4234141ded60f4aac73de
swiotlb: dma_addr_to_phys_addr() should be static.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 arch/i386/kernel/swiotlb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 06cd871a5a98 -r b3c2f84be0bb arch/i386/kernel/swiotlb.c
--- a/arch/i386/kernel/swiotlb.c        Tue Jul 10 16:32:06 2007 +0100
+++ b/arch/i386/kernel/swiotlb.c        Tue Jul 10 16:32:35 2007 +0100
@@ -389,7 +389,7 @@ map_single(struct device *hwdev, struct 
        return dma_addr;
 }
 
-struct phys_addr dma_addr_to_phys_addr(char *dma_addr)
+static struct phys_addr dma_addr_to_phys_addr(char *dma_addr)
 {
        int index = (dma_addr - iotlb_virt_start) >> IO_TLB_SHIFT;
        struct phys_addr buffer = io_tlb_orig_addr[index];

_______________________________________________
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®.