mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
Call ast() only when we're handling a user trap.
This commit is contained in:
parent
78a30c40c2
commit
2242af42cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91669
|
@ -123,7 +123,8 @@ interrupt(u_int64_t vector, struct trapframe *framep)
|
|||
critical_exit();
|
||||
#ifdef SMP
|
||||
} else if (vector == mp_ipi_vector[IPI_AST]) {
|
||||
ast(framep);
|
||||
if ((framep->tf_cr_ipsr & IA64_PSR_CPL) == IA64_PSR_CPL_USER)
|
||||
ast(framep);
|
||||
} else if (vector == mp_ipi_vector[IPI_RENDEZVOUS]) {
|
||||
smp_rendezvous_action();
|
||||
} else if (vector == mp_ipi_vector[IPI_STOP]) {
|
||||
|
|
Loading…
Reference in a new issue