diff options
author | 2018-11-27 09:57:23 +1300 | |
---|---|---|
committer | 2018-12-05 12:02:12 +0100 | |
commit | 8fefbc6d4b26604be3ce627910a22aaeb7c382fd (patch) | |
tree | 37d65162a20d4e4861a33436000fd6e4b5d5d8bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: 8250-mtk: add uart DMA support (diff) | |
download | wireguard-linux-8fefbc6d4b26604be3ce627910a22aaeb7c382fd.tar.xz wireguard-linux-8fefbc6d4b26604be3ce627910a22aaeb7c382fd.zip |
tty/sysrq: Do not call sync directly from sysrq_do_reset()
sysrq_do_reset() is called in softirq context, so it cannot call
sync() directly. Instead, call orderly_reboot(), which creates a work
item to run /sbin/reboot, or do emergency_sync and restart if the
command fails.
Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions