]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ACPI/S3: fix gcc3.2 compatibility
authorPavel Machek <pavel@ucw.cz>
Sun, 15 Dec 2002 03:48:38 +0000 (19:48 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 15 Dec 2002 03:48:38 +0000 (19:48 -0800)
gcc3.2 is a bit more pedantic...

arch/i386/kernel/suspend_asm.S

index 8261eb113e72f909b716e009744120dcf712ac2f..e454ec55b824e8f00616b98b83ddea3bba07ca2b 100644 (file)
@@ -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