diff options
author | jhb <jhb@FreeBSD.org> | 2005-11-03 21:08:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-11-03 21:08:20 +0000 |
commit | b2c57e8bc8e4b4f7424f7b7cfdfa5db7279a248f (patch) | |
tree | 8dca468fca38c4de1d112029ae7cb94ecf77592a /sys/kern/subr_kdb.c | |
parent | 935ba49b57c25a08e0773785ead144bdb08a5368 (diff) | |
download | FreeBSD-src-b2c57e8bc8e4b4f7424f7b7cfdfa5db7279a248f.zip FreeBSD-src-b2c57e8bc8e4b4f7424f7b7cfdfa5db7279a248f.tar.gz |
Add stoppcbs[] arrays on Alpha and sparc64 and have each CPU save its
current context in the IPI_STOP handler so that we can get accurate stack
traces of threads on other CPUs on these two archs like we do now on i386
and amd64.
Tested on: alpha, sparc64
Diffstat (limited to 'sys/kern/subr_kdb.c')
-rw-r--r-- | sys/kern/subr_kdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c index 634343c..2f5d162 100644 --- a/sys/kern/subr_kdb.c +++ b/sys/kern/subr_kdb.c @@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$"); #include <machine/pcb.h> #ifdef SMP -#if defined (__i386__) || defined(__amd64__) +#if defined (__i386__) || defined(__amd64__) || defined(__sparc64__) || defined(__alpha__) #define HAVE_STOPPEDPCBS #include <machine/smp.h> #endif |