From 6393cddd9af454020ede62ac337c33784f23dda8 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 19 Jan 2004 05:06:47 -0800 Subject: [PATCH] [PATCH] s3 sleep: Kill obsolete debugging code 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). --- arch/i386/kernel/acpi/wakeup.S | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/i386/kernel/acpi/wakeup.S b/arch/i386/kernel/acpi/wakeup.S index 51105a39c19f0..5ae7dbef17c06 100644 --- a/arch/i386/kernel/acpi/wakeup.S +++ b/arch/i386/kernel/acpi/wakeup.S @@ -193,21 +193,12 @@ 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 # 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: -- 2.53.0