]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Missing critical phys_to_virt in lib/swiotlb.c
authorDavid Moore <dcm@acm.org>
Thu, 8 Mar 2007 07:10:34 +0000 (08:10 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 8 Mar 2007 07:10:34 +0000 (08:10 +0100)
commitd4705d6dc74016619a1a6565dd54c7c5269c25d0
treecd063dfb1786a5a75c960f4a2699d66e65c46892
parent4a990d10083535d9f0927cd81dcc3b18d0ec3cac
Missing critical phys_to_virt in lib/swiotlb.c

Adds missing call to phys_to_virt() in the
lib/swiotlb.c:swiotlb_sync_sg() function.  Without this change, a kernel
panic will always occur whenever a SWIOTLB bounce buffer from a
scatter-gather list gets synced.

Signed-off-by: David Moore <dcm@acm.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
lib/swiotlb.c