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/sparc64/include/smp.h | |
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/sparc64/include/smp.h')
-rw-r--r-- | sys/sparc64/include/smp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/include/smp.h b/sys/sparc64/include/smp.h index b51425d..09b93d3 100644 --- a/sys/sparc64/include/smp.h +++ b/sys/sparc64/include/smp.h @@ -72,6 +72,8 @@ struct ipi_tlb_args { struct pcpu; +extern struct pcb stoppcbs[]; + void cpu_mp_bootstrap(struct pcpu *pc); void cpu_mp_shutdown(void); |