ARM: Fix DMA coherent allocator alignment
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Nov 2010 16:00:15 +0000 (16:00 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 7 Nov 2010 16:10:15 +0000 (16:10 +0000)
commitc947f69fff183e5d2a06160d9262b5dab7359e95
tree717ced5b4c10d022809e3611ccd938236cef18e6
parent151f52f09c5728ecfdd0c289da1a4b30bb416f2c
ARM: Fix DMA coherent allocator alignment

An out by one bug meant that the DMA coherent allocator was aligning
to one more bit than it should, causing it to run out of available
memory quicker.  Fix this.

Reported-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/dma-mapping.c