commit | 11a5aa32562e1e90ab2d0278748fe0fbecda1cbe | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Nov 25 21:52:25 2013 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sat Nov 30 14:45:29 2013 +0000 |
tree | e95ebca5e90b3afb5dd1d75bab11c5230542ffc4 | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae [diff] |
ARM: dma-mapping: check DMA mask against available memory Some buses have negative offsets, which causes the DMA mask checks to falsely fail. Fix this by using the actual amount of memory fitted in the system. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>