ARM: dmabounce: move decision for bouncing into __dma_map_page()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Jul 2011 21:39:43 +0000 (22:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Jul 2011 22:28:31 +0000 (23:28 +0100)
Move the decision whether to bounce into __dma_map_page(), before
the check for high pages.  This avoids triggering the high page
check for devices which aren't using dmabounce.  Fix the unmap path
to cope too.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found