svn commit: r232079 - stable/9/sys/amd64/amd64
Jung-uk Kim
jkim at FreeBSD.org
Thu Feb 23 21:54:05 UTC 2012
Author: jkim
Date: Thu Feb 23 21:54:04 2012
New Revision: 232079
URL: http://svn.freebsd.org/changeset/base/232079
Log:
MFC: r231169
Do not EOI local APIC too early when suspending APs. Just do doreti instead
of taking a shortcut.
Modified:
stable/9/sys/amd64/amd64/apic_vector.S
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/amd64/amd64/apic_vector.S
==============================================================================
--- stable/9/sys/amd64/amd64/apic_vector.S Thu Feb 23 21:50:13 2012 (r232078)
+++ stable/9/sys/amd64/amd64/apic_vector.S Thu Feb 23 21:54:04 2012 (r232079)
@@ -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.
More information about the svn-src-stable-9
mailing list