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:
parent
ecbd8e3710
commit
59f857e4ea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68786
@ -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 */
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user