summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHeesub Shin <heesub.shin@samsung.com>2014-05-28 15:52:53 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-29 13:40:33 -0700
commit80cb77dc6310a72002f6cb8255316c5aaea78807 (patch)
tree5496bee1c053a8312dd44985cf7d036a401c99ed /tools/perf/scripts/python
parent792407484a09b455064722c5190b45e1e1f2cecd (diff)
staging: ion: simplify ion_page_pool_total()
ion_page_pool_total() returns the total number of pages in the pool. Depending on the argument passed, it counts highmem pages in or not. This commit simplifies the code lines for better readability. Signed-off-by: Heesub Shin <heesub.shin@samsung.com> Reviewed-by: Mitchel Humpherys <mitchelh@codeaurora.org> Tested-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions