aboutsummaryrefslogtreecommitdiff
path: root/linuxboot.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-05-21 16:45:21 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-05-21 16:45:21 +0200
commit4d8ac521eb8ec4a99e597659b553133010c44963 (patch)
treed319acfc38bb5722cd1c940612261610c2a04a56 /linuxboot.c
parent20b9dd75c8525003bd53243f52766dde9daace46 (diff)
downloadqboot-4d8ac521eb8ec4a99e597659b553133010c44963.zip
qboot-4d8ac521eb8ec4a99e597659b553133010c44963.tar.gz
qboot-4d8ac521eb8ec4a99e597659b553133010c44963.tar.bz2
save one instruction :)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linuxboot.c')
-rw-r--r--linuxboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxboot.c b/linuxboot.c
index 9671fd7..0e7fe37 100644
--- a/linuxboot.c
+++ b/linuxboot.c
@@ -138,7 +138,7 @@ asm("pm16_boot_linux:"
"mov %bx, %fs; mov %bx, %gs; mov %bx, %ss;"
"mov %dx, %sp;"
"add $0x20, %bx; pushw %bx;" // push CS
- "xor %eax, %eax; pushw %ax;" // push IP
+ "pushw %ax;" // push IP
"xor %ebx, %ebx;"
"xor %ecx, %ecx;"
"xor %edx, %edx;"