mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Call ast() only when we're handling a user trap.
This commit is contained in:
parent
78a30c40c2
commit
2242af42cf
1 changed files with 2 additions and 1 deletions
|
|
@ -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