core: remove overzealous calls to cleanup_hardware
authorH. Peter Anvin <hpa@zytor.com>
Fri, 4 Sep 2009 23:38:21 +0000 (16:38 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 4 Sep 2009 23:38:21 +0000 (16:38 -0700)
commit96281dc8bf8189add880d8f2bedf104e6517d1f7
tree8b0ca9d676b0d2f9789cbca2aa4cdcaf9c64ed91
parent517edd4527b9b4bd33aa18c8c6edecf20a9a992f
core: remove overzealous calls to cleanup_hardware

cleanup_hardware is not needed in core/runkernel.inc: cleanup_hardware
is already invoked from replace_bootstrap.  Furthermore,
cleanup_hardware is defined to preserve all registers, so there is no
need to push/pop ax around it.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/localboot.inc
core/runkernel.inc