diff options
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/trap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 09fd4fc..3ed7572 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -169,6 +169,7 @@ trap(frame) PCPU_LAZY_INC(cnt.v_trap); type = frame.tf_trapno; +#ifdef SMP #ifdef STOP_NMI /* Handler for NMI IPIs used for stopping CPUs. */ if (type == T_NMI) { @@ -176,6 +177,7 @@ trap(frame) goto out; } #endif /* STOP_NMI */ +#endif /* SMP */ #ifdef KDB if (kdb_active) { |