diff options
author | 2021-11-23 19:40:50 +0100 | |
---|---|---|
committer | 2021-12-01 20:17:32 +0100 | |
commit | a105acd7e38436ed6bc0714f3120aaaad56cbe3d (patch) | |
tree | 40a08fbc15eced33697ebbe8256e6d5bdaa198f9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ACPI: EC: Rearrange the loop in acpi_ec_event_handler() (diff) | |
download | wireguard-linux-a105acd7e38436ed6bc0714f3120aaaad56cbe3d.tar.xz wireguard-linux-a105acd7e38436ed6bc0714f3120aaaad56cbe3d.zip |
ACPI: EC: Simplify locking in acpi_ec_event_handler()
Because acpi_ec_event_handler() is a work function, it always
runs in process context with interrupts enabled, so it can use
spin_lock_irq() and spin_unlock_irq() for the locking.
Make it do so and adjust white space around those calls.
No expected functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions