summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-12-22 10:26:05 -0800
committerIngo Molnar <mingo@elte.hu>2008-12-28 09:54:52 +0100
commit70a7d3cc1308a55104fbe505d76f2aca8a4cf53e (patch)
tree2e4542f668d8b431140f0682c9d1aebbe7bf30eb /arch/x86
parenta08636690d06b2e36cfb4c2b3ee133a81c47e1e0 (diff)
downloadop-kernel-dev-70a7d3cc1308a55104fbe505d76f2aca8a4cf53e.zip
op-kernel-dev-70a7d3cc1308a55104fbe505d76f2aca8a4cf53e.tar.gz
swiotlb: add hwdev to swiotlb_phys_to_bus() / swiotlb_sg_to_bus()
Impact: extend functions with a (yet unused) parameter, update callsites Some architectures need it - in preparation for highmem swiotlb. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/pci-swiotlb_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/pci-swiotlb_64.c b/arch/x86/kernel/pci-swiotlb_64.c
index 242c344..6cf8a81 100644
--- a/arch/x86/kernel/pci-swiotlb_64.c
+++ b/arch/x86/kernel/pci-swiotlb_64.c
@@ -23,7 +23,7 @@ void *swiotlb_alloc(unsigned order, unsigned long nslabs)
return (void *)__get_free_pages(GFP_DMA | __GFP_NOWARN, order);
}
-dma_addr_t swiotlb_phys_to_bus(phys_addr_t paddr)
+dma_addr_t swiotlb_phys_to_bus(struct device *hwdev, phys_addr_t paddr)
{
return paddr;
}
OpenPOWER on IntegriCloud