diff options
author | 2012-12-10 17:19:57 +0000 | |
---|---|---|
committer | 2013-09-23 18:38:54 -0400 | |
commit | c0f4375146a738bae23e48fa8b5383abf02177cb (patch) | |
tree | 271ff2cfeeaa91ebf6c0345814973ad7d67154a1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'iks_for_rmk' of git://git.linaro.org/people/nico/linux into devel-stable (diff) | |
download | linux-dev-c0f4375146a738bae23e48fa8b5383abf02177cb.tar.xz linux-dev-c0f4375146a738bae23e48fa8b5383abf02177cb.zip |
ARM: bL_switcher: Add synchronous enable/disable interface
Some subsystems will need to know for sure whether the switcher is
enabled or disabled during certain critical regions.
This patch provides a simple mutex-based mechanism to discover
whether the switcher is enabled and temporarily lock out further
enable/disable:
* bL_switcher_get_enabled() returns true iff the switcher is
enabled and temporarily inhibits enable/disable.
* bL_switcher_put_enabled() permits enable/disable of the switcher
again after a previous call to bL_switcher_get_enabled().
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions