Do not EOI local APIC too early. Just do doreti normally after resuming.

This commit is contained in:
Jung-uk Kim 2012-02-07 23:24:29 +00:00
parent 3cc6ae1f57
commit a8b6dc5010

View File

@ -300,13 +300,10 @@ IDTVEC(cpustop)
IDTVEC(cpususpend)
PUSH_FRAME
call cpususpend_handler
movq lapic, %rax
movl $0, LA_EOI(%rax) /* End Of Interrupt to APIC */
call cpususpend_handler
POP_FRAME
jmp doreti_iret
jmp doreti
/*
* Executed by a CPU when it receives a RENDEZVOUS IPI from another CPU.