diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2018-03-21 12:46:39 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2018-03-21 20:51:39 +0300 |
commit | ae35c4835699933335e76ab2d6a245303592ceea (patch) | |
tree | 336d2f17c150d16130defc8d56c397ba9eb95a27 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a7480dbcf983c31d8111f864c848e8a75116a87d (diff) | |
download | linux-ae35c4835699933335e76ab2d6a245303592ceea.tar.xz |
ARM: EXYNOS: Simplify code in coupled CPU idle hot path
exynos_enter_aftr() is called by coupled CPU idle code every time CPU
enters idle state, what can be considered as a hot path. Replace
of_machine_is_compatible() call with a simple SoC revision check.
of_machine_is_compatible() function performs a dozen of string comparisons
during the full device tree walk, while soc_is_exynos4412() is a simple
integer check on SoC revision variable.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions