diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2014-04-15 16:51:04 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-04-24 22:32:41 +0200 |
commit | 367525c8c20a34560afe1d0c7cca52a44ccd62e9 (patch) | |
tree | a3b6a6a27106b2776af034c87b4d0f2bc2c6ec42 /tools/perf/scripts/python/sched-migration.py | |
parent | d482443244b820f03a5a07d1bca6a0f5e2b4804c (diff) |
can: slcan: Fix spinlock variant
slc_xmit is called within softirq context and locks sl->lock, but
slcan_write_wakeup is not softirq context, so we need to use
spin_[un]lock_bh!
Detected using kernel lock debugging mechanism.
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions