Commit c8dfe2bf authored by Pavel Machek's avatar Pavel Machek Committed by Linus Torvalds

[PATCH] ACPI/S3: fix gcc3.2 compatibility

gcc3.2 is a bit more pedantic...
parent de69d34e
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/page.h> #include <asm/page.h>
ENTRY(do_magic): ENTRY(do_magic)
pushl %ebx pushl %ebx
cmpl $0,8(%esp) cmpl $0,8(%esp)
jne .L1450 jne .L1450
...@@ -66,7 +66,7 @@ ENTRY(do_magic): ...@@ -66,7 +66,7 @@ ENTRY(do_magic):
.L1453: .L1453:
movl $104,%eax movl $104,%eax
movw %eax, %ds movw %ax, %ds
movl saved_context_esp, %esp movl saved_context_esp, %esp
movl saved_context_ebp, %ebp movl saved_context_ebp, %ebp
movl saved_context_eax, %eax movl saved_context_eax, %eax
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment