ARM: dma-mapping: fix atomic allocation alignment
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 7 Aug 2012 12:39:25 +0000 (14:39 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 9 Aug 2012 05:46:07 +0000 (07:46 +0200)
commite4ea6918c93b9f59d34e8ca2124b2b64b1afe73b
tree11c9dcf2e73344dc118e71804182049333bb1f37
parent39f78e70567a07a6fc0d7a4ca9e3331e44dd400d
ARM: dma-mapping: fix atomic allocation alignment

The alignment mask is calculated incorrectly. Fixing the calculation
makes strange hangs/lockups disappear during the boot with Amstrad E3
and 3.6-rc1 kernel.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/dma-mapping.c