Skip to contentSkip to conversation

ACPI/S3: fix gcc3.2 compatibility

PATCH Pavel Machek 1 participant 1 message Dec 13, 2002

lore
Share & tools
lore
#0 lore raw

Hi!

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

arch/i386/kernel/suspend_asm.S +2 -2
@@ -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
Signature · 2 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?