diff options
author | Cyril Chemparathy <cyril@ti.com> | 2012-07-20 13:16:41 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-05-30 16:02:30 +0100 |
commit | 28d4bf7a2929c5e525171d249e12662e21130ec3 (patch) | |
tree | 0d603e2c33ce17862101aa0c7e3e7a4c6c4075da /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | adf2e9fda34c1cfff2ee4e47078b1e142adb2c30 (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>
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 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions