Commit 6393cddd authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] s3 sleep: Kill obsolete debugging code

From: Pavel Machek <pavel@ucw.cz>

wakeup.S includes some rather nasty, and unneccessary debugging code.  (It
used to try to flush caches/tlbs; now its totally useless).
parent 45f6cf9d
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment