diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-12-09 13:30:34 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-12-09 13:30:34 +0000 |
commit | aed63426ef4cc555434f24bbf494c3023b0a56f7 (patch) | |
tree | 8f3c6c0d3d18a0c91d76d49eb404c9d48e043b0f /sys/amd64 | |
parent | c7a54e3a6445b5d0dfefeb88dc9e25f18d0f0c85 (diff) | |
download | FreeBSD-src-aed63426ef4cc555434f24bbf494c3023b0a56f7.zip FreeBSD-src-aed63426ef4cc555434f24bbf494c3023b0a56f7.tar.gz |
Sync with i386, fix compiling for non-SMP.
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) { |