summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cleanup.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cleanup.inc b/cleanup.inc
index 45ef920c..10257051 100644
--- a/cleanup.inc
+++ b/cleanup.inc
@@ -24,7 +24,7 @@
; Can trash any registers.
;
cleanup_hardware:
-
+ pushad
;
; Linux wants the floppy motor shut off before starting the kernel,
; at least bootsect.S seems to imply so. If we don't load the floppy
@@ -50,4 +50,5 @@ cleanup_hardware:
.no_vmware:
%endif
+ popad
ret