[ARM] 3537/1: Rework DMA-bounce locking for finer granularity
authorKevin Hilman <khilman@deeprooted.net>
Thu, 22 Jun 2006 21:27:14 +0000 (22:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Jun 2006 21:27:14 +0000 (22:27 +0100)
commit823588c18689ddd49d4643eda7654302f18a275f
tree3cd555063265808fdf2b5c3375f27d32148bf822
parentfa3e686a34f4c33de31a128cc36def0b466bfe1a
[ARM] 3537/1: Rework DMA-bounce locking for finer granularity

Patch from Kevin Hilman

This time with IRQ versions of locks.

Rework also enables compatability with realtime-preemption patch.
With the current locking via interrupt disabling, under RT,
potentially sleeping functions can be called with interrupts
disabled.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/dmabounce.c