diff options
| author | Pavel Machek <pavel@ucw.cz> | 2002-12-14 19:48:38 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-12-14 19:48:38 -0800 |
| commit | c8dfe2bf6a05f92c48a7230d07415ebb13b5c29a (patch) | |
| tree | 0787950099e70fdc3383b2049cc581bb98ca0bd3 | |
| parent | de69d34e09ebe21ff7019e3877d5bee02e123875 (diff) | |
[PATCH] ACPI/S3: fix gcc3.2 compatibility
gcc3.2 is a bit more pedantic...
| -rw-r--r-- | arch/i386/kernel/suspend_asm.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/suspend_asm.S b/arch/i386/kernel/suspend_asm.S index 8261eb113e72..e454ec55b824 100644 --- a/arch/i386/kernel/suspend_asm.S +++ b/arch/i386/kernel/suspend_asm.S @@ -6,7 +6,7 @@ #include <asm/segment.h> #include <asm/page.h> -ENTRY(do_magic): +ENTRY(do_magic) pushl %ebx cmpl $0,8(%esp) jne .L1450 @@ -66,7 +66,7 @@ ENTRY(do_magic): .L1453: movl $104,%eax - movw %eax, %ds + movw %ax, %ds movl saved_context_esp, %esp movl saved_context_ebp, %ebp movl saved_context_eax, %eax |
