x86, realmode: Fix always-zero test in reboot_32.S
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 18:22:39 +0000 (21:22 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 18:48:04 +0000 (11:48 -0700)
commit6feb592dceaed1a6cf26c9747b1180958d5156cd
treebb28e736267ea2fed45f28e04d54bb85ee9528e8
parentbe60828920d23758da8124bed771404a0438f369
x86, realmode: Fix always-zero test in reboot_32.S

A test instruction is an "and", and an and with zero is always zero.
This would cause us to always take the BIOS path, not the APM path, in
case anyone actually cares...

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1336501366-28617-17-git-send-email-jarkko.sakkinen@intel.com
arch/x86/realmode/rm/reboot_32.S