diff options
author | Lance Roy <[email protected]> | 2018-10-04 00:14:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-10-04 11:06:35 -0700 |
commit | 8ebfe885c65ec82a0b1e955cf99ed62664e84414 (patch) | |
tree | cc5c6c7cabe8c526551c7c43d8d6427fb221f7fa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 817e9bc8cc04e5c70592525b96812c46c1aa1c46 (diff) |
TTY: sn_console: Replace spin_is_locked() with spin_trylock()
sn_sal_console_write() used spin_is_locked() + spin_lock() to get
achieve the same thing as a spin_trylock(), so simplify it by using that
instead. This is also a step towards possibly removing spin_is_locked().
Signed-off-by: Lance Roy <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions