diff options
author | Cyril Chemparathy <[email protected]> | 2012-07-20 12:24:45 -0400 |
---|---|---|
committer | Will Deacon <[email protected]> | 2013-05-30 16:02:26 +0100 |
commit | adf2e9fda34c1cfff2ee4e47078b1e142adb2c30 (patch) | |
tree | f9c448396ef1e774d27e75f684a2d4687d4cd6ee /net/lapb/lapb_in.c | |
parent | 5b20c5b2f014ecc0a6310988af69cd7ede9e7c67 (diff) |
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 <[email protected]>
Signed-off-by: Vitaly Andrianov <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Tested-by: Santosh Shilimkar <[email protected]>
Tested-by: Subash Patel <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions