diff options
author | Cyril Chemparathy <cyril@ti.com> | 2012-07-20 16:24:45 (GMT) |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-05-30 15:02:26 (GMT) |
commit | adf2e9fda34c1cfff2ee4e47078b1e142adb2c30 (patch) | |
tree | f9c448396ef1e774d27e75f684a2d4687d4cd6ee /lib/raid6/int.uc | |
parent | 5b20c5b2f014ecc0a6310988af69cd7ede9e7c67 (diff) | |
download | linux-fsl-qoriq-adf2e9fda34c1cfff2ee4e47078b1e142adb2c30.tar.xz |
ARM: mm: cleanup checks for membank overlap with vmalloc area
On Keystone platforms, physical memory is entirely outside the 32-bit
addressible range. Therefore, the (bank->start > ULONG_MAX) check below marks
the entire system memory as highmem, and this causes unpleasentness all over.
This patch eliminates the extra bank start check (against ULONG_MAX) by
checking bank->start against the physical address corresponding to vmalloc_min
instead.
In the process, this patch also cleans up parts of the highmem sanity check
code by removing what has now become a redundant check for banks that entirely
overlap with the vmalloc range.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Subash Patel <subash.rp@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'lib/raid6/int.uc')
0 files changed, 0 insertions, 0 deletions