ARM: dma-mapping: fix atomic allocation alignment
authorAaro Koskinen <[email protected]>
Tue, 7 Aug 2012 12:39:25 +0000 (14:39 +0200)
committerMarek Szyprowski <[email protected]>
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 <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
arch/arm/mm/dma-mapping.c