Santosh Shilimkar 26ba47b183 ARM: 7805/1: mm: change max*pfn to include the physical offset of memory
Most of the kernel code assumes that max*pfn is maximum pfns because
the physical start of memory is expected to be PFN0. Since this
assumption is not true on ARM architectures, the meaning of max*pfn
is number of memory pages. This is done to keep drivers happy which
are making use of of these variable to calculate the dma bounce limit
using dma_mask.

Now since we have a architecture override possibility for DMAable
maximum pfns, lets make meaning of max*pfns as maximum pnfs on ARM
as well.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-10-31 14:49:29 +00:00
..
2013-09-09 16:35:29 -07:00
2013-09-06 13:30:06 -07:00
2013-09-09 16:35:29 -07:00
2013-09-06 13:34:43 -07:00
2013-09-12 13:59:31 -07:00
2013-09-09 16:35:29 -07:00
2013-09-06 13:21:16 -07:00
2013-09-06 13:26:27 -07:00
2013-09-06 13:21:16 -07:00
2013-09-06 13:21:16 -07:00
2013-09-06 13:21:16 -07:00
2013-09-09 12:05:37 -04:00
2013-09-13 15:09:52 +02:00
2013-09-06 13:21:16 -07:00