commit | 0f0e61c21055dd72c5c607d4c614a9f5f796957e | [log] [tgz] |
---|---|---|
author | Cyril Chemparathy <cyril@ti.com> | Fri Jul 20 13:16:41 2012 -0400 |
committer | Cyril Chemparathy <cyril@ti.com> | Tue Sep 18 10:46:49 2012 -0400 |
tree | 0e80fb8ec5dc0fd8a6216c58de547133993b0272 | |
parent | 6f59fe9382e5f5affb2219b10c4fbef630bca505 [diff] |
ARM: mm: clean up membank size limit checks This patch cleans up the highmem sanity check code by simplifying the range checks with a pre-calculated size_limit. This patch should otherwise have no functional impact on behavior. This patch also removes a redundant (bank->start < vmalloc_limit) check, since this is already covered by the !highmem condition. Signed-off-by: Cyril Chemparathy <cyril@ti.com> Signed-off-by: Vitaly Andrianov <vitalya@ti.com>