x86, reboot: Fix relocations in reboot_32.S
authorH. Peter Anvin <hpa@zytor.com>
Mon, 2 May 2011 21:33:24 +0000 (14:33 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 2 May 2011 21:44:46 +0000 (14:44 -0700)
The use of base for %ebx in this file is arbitrary, *except* that we
also use it to compute the real-mode segment.  Therefore, make it so
that r_base really is the true address to which %ebx points.

This resolves kernel bugzilla 33302.

Reported-and-tested-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Link: http://lkml.kernel.org/n/tip-08os5wi3yq1no0y4i5m4z7he@git.kernel.org

No differences found