From: Pavel Machek wakeup.S includes some rather nasty, and unneccessary debugging code. (It used to try to flush caches/tlbs; now its totally useless). 25-akpm/arch/i386/kernel/acpi/wakeup.S | 8 -------- 1 files changed, 8 deletions(-) diff -puN arch/i386/kernel/acpi/wakeup.S~s3-sleep-remove-debug-code arch/i386/kernel/acpi/wakeup.S --- 25/arch/i386/kernel/acpi/wakeup.S~s3-sleep-remove-debug-code Fri Jan 2 15:37:22 2004 +++ 25-akpm/arch/i386/kernel/acpi/wakeup.S Fri Jan 2 15:37:22 2004 @@ -193,11 +193,6 @@ wakeup_pmode_return: # and restore the stack ... but you need gdt for this to work movl saved_context_esp, %esp - movw $0x0e00 + 'W', 0xb8018 - outl %eax, $0x80 - outl %eax, $0x80 - movw $0x0e00 + 'O', 0xb8018 - movl %cs:saved_magic, %eax cmpl $0x12345678, %eax jne bogus_magic @@ -205,9 +200,6 @@ wakeup_pmode_return: # jump to place where we left off movl saved_eip,%eax movw $0x0e00 + 'x', 0xb8018 - outl %eax, $0x80 - outl %eax, $0x80 - movw $0x0e00 + '!', 0xb801a jmp *%eax bogus_magic: _