diff options
author | jhb <jhb@FreeBSD.org> | 2000-11-15 21:58:02 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-11-15 21:58:02 +0000 |
commit | fee8891473fd70f0497a9a7365c92c997835f6a6 (patch) | |
tree | 95a58dd2628327a434b982981b45b2d1b81c073a /sys/powerpc | |
parent | 9ced7fb074609785a6a918a21021e867427eef23 (diff) | |
download | FreeBSD-src-fee8891473fd70f0497a9a7365c92c997835f6a6.zip FreeBSD-src-fee8891473fd70f0497a9a7365c92c997835f6a6.tar.gz |
Add the 'witness_spin_check' per-CPU variable.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/globaldata.h | 1 | ||||
-rw-r--r-- | sys/powerpc/include/globals.h | 1 | ||||
-rw-r--r-- | sys/powerpc/include/pcpu.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/globaldata.h b/sys/powerpc/include/globaldata.h index b246bb1..361ae09 100644 --- a/sys/powerpc/include/globaldata.h +++ b/sys/powerpc/include/globaldata.h @@ -61,6 +61,7 @@ struct globaldata { u_int gd_astpending; SLIST_ENTRY(globaldata) gd_allcpu; + int gd_witness_spin_check; #ifdef KTR_PERCPU volatile int gd_ktr_idx; /* Index into trace table */ char *gd_ktr_buf; diff --git a/sys/powerpc/include/globals.h b/sys/powerpc/include/globals.h index b9e75fc..970ef68 100644 --- a/sys/powerpc/include/globals.h +++ b/sys/powerpc/include/globals.h @@ -58,6 +58,7 @@ register struct globaldata *globalp __asm__("$8"); #define switchtime PCPU_GET(switchtime) #define switchticks PCPU_GET(switchticks) #define cpuid PCPU_GET(cpuno) +#define witness_spin_check PCPU_GET(witness_spin_check) #endif /* _KERNEL */ diff --git a/sys/powerpc/include/pcpu.h b/sys/powerpc/include/pcpu.h index b246bb1..361ae09 100644 --- a/sys/powerpc/include/pcpu.h +++ b/sys/powerpc/include/pcpu.h @@ -61,6 +61,7 @@ struct globaldata { u_int gd_astpending; SLIST_ENTRY(globaldata) gd_allcpu; + int gd_witness_spin_check; #ifdef KTR_PERCPU volatile int gd_ktr_idx; /* Index into trace table */ char *gd_ktr_buf; |