summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/globaldata.h1
-rw-r--r--sys/alpha/include/globals.h1
-rw-r--r--sys/alpha/include/pcpu.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/alpha/include/globaldata.h b/sys/alpha/include/globaldata.h
index b246bb1..361ae09 100644
--- a/sys/alpha/include/globaldata.h
+++ b/sys/alpha/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/alpha/include/globals.h b/sys/alpha/include/globals.h
index b9e75fc..970ef68 100644
--- a/sys/alpha/include/globals.h
+++ b/sys/alpha/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/alpha/include/pcpu.h b/sys/alpha/include/pcpu.h
index b246bb1..361ae09 100644
--- a/sys/alpha/include/pcpu.h
+++ b/sys/alpha/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;
OpenPOWER on IntegriCloud