1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00

Declare the 'witness_spin_check' properly as a per-CPU variable in the

non-SMP case.
This commit is contained in:
John Baldwin 2000-11-15 22:02:05 +00:00
parent ecbd8e3710
commit 59f857e4ea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68786
4 changed files with 1 additions and 12 deletions

View File

@ -135,6 +135,7 @@ extern struct proc *npxproc;
extern int switchticks; /* `ticks' at last context switch. */
extern struct timeval switchtime; /* Uptime at last context switch. */
extern struct segment_descriptor *tss_gdt;
extern int witness_spin_check;
#endif /* SMP || KLD_MODULE */

View File

@ -656,10 +656,6 @@ mtx_destroy(struct mtx *m)
#define WITNESS_COUNT 200
#define WITNESS_NCHILDREN 2
#ifndef SMP
extern int witness_spin_check;
#endif
int witness_watch = 1;
struct witness {

View File

@ -656,10 +656,6 @@ mtx_destroy(struct mtx *m)
#define WITNESS_COUNT 200
#define WITNESS_NCHILDREN 2
#ifndef SMP
extern int witness_spin_check;
#endif
int witness_watch = 1;
struct witness {

View File

@ -656,10 +656,6 @@ mtx_destroy(struct mtx *m)
#define WITNESS_COUNT 200
#define WITNESS_NCHILDREN 2
#ifndef SMP
extern int witness_spin_check;
#endif
int witness_watch = 1;
struct witness {