summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-calgary_64.c
diff options
context:
space:
mode:
authorBecky Bruce2009-04-08 16:09:21 +0200
committerIngo Molnar2009-04-08 16:18:38 +0200
commit42d7c5e353cef9062129b0de3ec9ddf10567b9ca (patch)
tree4467abd8266c4ca8830e128dca6e838d912bb6d8 /arch/x86/kernel/pci-calgary_64.c
parentswiotlb: use swiotlb_sync_single instead of duplicating code (diff)
downloadkernel-qcow2-linux-42d7c5e353cef9062129b0de3ec9ddf10567b9ca.tar.gz
kernel-qcow2-linux-42d7c5e353cef9062129b0de3ec9ddf10567b9ca.tar.xz
kernel-qcow2-linux-42d7c5e353cef9062129b0de3ec9ddf10567b9ca.zip
swiotlb: change swiotlb_bus_to[phys,virt] prototypes
Add a hwdev argument that is needed on some architectures in order to access a per-device offset that is taken into account when producing a physical address (also needed to get from bus address to virtual address because the physical address is an intermediate step). Also make swiotlb_bus_to_virt weak so architectures can override it. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Cc: jeremy@goop.org Cc: ian.campbell@citrix.com LKML-Reference: <1239199761-22886-8-git-send-email-galak@kernel.crashing.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/pci-calgary_64.c')
0 files changed, 0 insertions, 0 deletions