From: Becky Bruce Date: Wed, 8 Apr 2009 14:09:21 +0000 (-0500) Subject: swiotlb: change swiotlb_bus_to[phys,virt] prototypes X-Git-Tag: v2.6.31-rc1~408^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42d7c5e353cef9062129b0de3ec9ddf10567b9ca;p=pandora-kernel.git 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 Acked-by: FUJITA Tomonori Signed-off-by: Kumar Gala 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 --- Reading git-diff-tree failed