ACPI/S3: fix gcc3.2 compatibility

From: Pavel Machek (pavel@ucw.cz)
Date: Thu Dec 12 2002 - 15:38:23 EST


Hi!

gcc3.2 is a bit more pedantic... Please apply,
                                                                Pavel

--- clean/arch/i386/kernel/suspend_asm.S 2002-12-11 23:33:53.000000000 +0100
+++ linux-swsusp/arch/i386/kernel/suspend_asm.S 2002-12-06 17:52:18.000000000 +0100
@@ -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 @@
 .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

-- 
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:28 EST