x86, reboot: Fix the use of passed arguments in 32-bit BIOS reboot
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 18 Feb 2011 23:47:42 +0000 (15:47 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 18 Feb 2011 23:47:42 +0000 (15:47 -0800)
commitee1b06ea6aed979da3b4e6b6ffea98ad55a3c5c1
tree06b0420b33bdba387d89faba3ed1271492fad9f1
parent3d35ac346e981162eeba391e496faceed4753e7b
x86, reboot: Fix the use of passed arguments in 32-bit BIOS reboot

The initial version of this patch had %eax being a segment and %ecx
being the mode.  I had changed the interfaces, but not the actual
implementation!

Reported-by: Brian Gerst <brgerst@gmail.com>
LKML-Reference: <AANLkTikxqk=HEw9R-Du=v-1ti1HDGAY9vaNUep2XARaz@mail.gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Matthieu Castet <castet.matthieu@free.fr>
arch/x86/kernel/reboot_32.S