ARM: dma-mapping: fix atomic allocation alignment
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 7 Aug 2012 12:39:25 +0000 (14:39 +0200)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 7 Sep 2012 08:46:12 +0000 (11:46 +0300)
commit6e7f8125020b7fa5e4a5cd9d726a7fc19ba20441
tree514e4717fb379f1c6f52781b60a584b7d637bb69
parent5467579535d80729352db0186b684c6199f29575
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