From: H. Peter Anvin Date: Thu, 21 Jun 2012 04:18:14 +0000 (-0700) Subject: x86, reboot: Drop redundant write of reboot_mode X-Git-Tag: v3.6-rc1~161^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b1b712f050eaf0ac576591281446dc960c0afc5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed