diff options
author | 2012-06-20 21:18:14 -0700 | |
---|---|---|
committer | 2012-06-20 21:18:14 -0700 | |
commit | 2b1b712f050eaf0ac576591281446dc960c0afc5 (patch) | |
tree | 44ef6a4039cd0a1f4aa20bdd8d236f95b98bc680 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | x86-64, reboot: Allow reboot=bios and reboot-cpu override on x86-64 (diff) | |
download | wireguard-linux-2b1b712f050eaf0ac576591281446dc960c0afc5.tar.xz wireguard-linux-2b1b712f050eaf0ac576591281446dc960c0afc5.zip |
x86, reboot: Drop redundant write of reboot_mode
We write reboot_mode to BIOS location 0x472 in
native_machine_emergency_restart() (reboot.c:542) already, there is no
need to then write it again in machine_real_restart().
This means nothing gets written there for MRR_APM, but the APM call is
a poweroff call and doesn't use this memory location.
Link: http://lkml.kernel.org/n/tip-3i0pfh44c1e3jv5lab0cf7sc@git.kernel.org
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions