swiotlb: support bouncing of HighMem pages
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 16 Dec 2008 20:17:33 +0000 (12:17 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 17 Dec 2008 17:58:15 +0000 (18:58 +0100)
commitef9b189352f2eb78f14e52996f4780a523b04a49
tree801c230f291d36db2f86404a91c1443bf6636f56
parent1b548f667c1487d92e794a9f7a67788f49b952d8
swiotlb: support bouncing of HighMem pages

Impact: prepare the swiotlb code for HighMem struct pages

This requires us to treat DMA regions in terms of page+offset rather
than virtual addressing since a HighMem page may not have a mapping.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
lib/swiotlb.c