aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-04-06 07:20:27 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-04-06 07:20:27 +0000
commitae60f36f19875f9802de52534edfb82a243933ad (patch)
tree0474e132fe12e683611c70e93103839f6653f4ca
parent0901f62e11467633ff509724f78a8eb38696fce8 (diff)
Axe the per-cpu variable witness_spin_check as it was replaced by the
per-cpu spinlocks list.
Notes
Notes: svn path=/head/; revision=75256
-rw-r--r--sys/amd64/amd64/genassym.c2
-rw-r--r--sys/amd64/include/pcpu.h1
-rw-r--r--sys/i386/i386/genassym.c2
-rw-r--r--sys/i386/include/globaldata.h1
-rw-r--r--sys/i386/include/pcpu.h1
5 files changed, 0 insertions, 7 deletions
diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c
index fac70490e696..c6f0970d63fc 100644
--- a/sys/amd64/amd64/genassym.c
+++ b/sys/amd64/amd64/genassym.c
@@ -174,8 +174,6 @@ ASSYM(GD_COMMON_TSSD, offsetof(struct globaldata, gd_common_tssd));
ASSYM(GD_TSS_GDT, offsetof(struct globaldata, gd_tss_gdt));
ASSYM(GD_CURRENTLDT, offsetof(struct globaldata, gd_currentldt));
-ASSYM(GD_WITNESS_SPIN_CHECK, offsetof(struct globaldata, gd_witness_spin_check));
-
/* XXX */
#ifdef KTR_PERCPU
ASSYM(GD_KTR_IDX, offsetof(struct globaldata, gd_ktr_idx));
diff --git a/sys/amd64/include/pcpu.h b/sys/amd64/include/pcpu.h
index c83d73cb164b..e7132274fc46 100644
--- a/sys/amd64/include/pcpu.h
+++ b/sys/amd64/include/pcpu.h
@@ -64,7 +64,6 @@ struct globaldata {
u_int gd_cpuid;
u_int gd_other_cpus;
SLIST_ENTRY(globaldata) gd_allcpu;
- int gd_witness_spin_check;
struct lock_list_entry *gd_spinlocks;
#ifdef KTR_PERCPU
#ifdef KTR
diff --git a/sys/i386/i386/genassym.c b/sys/i386/i386/genassym.c
index fac70490e696..c6f0970d63fc 100644
--- a/sys/i386/i386/genassym.c
+++ b/sys/i386/i386/genassym.c
@@ -174,8 +174,6 @@ ASSYM(GD_COMMON_TSSD, offsetof(struct globaldata, gd_common_tssd));
ASSYM(GD_TSS_GDT, offsetof(struct globaldata, gd_tss_gdt));
ASSYM(GD_CURRENTLDT, offsetof(struct globaldata, gd_currentldt));
-ASSYM(GD_WITNESS_SPIN_CHECK, offsetof(struct globaldata, gd_witness_spin_check));
-
/* XXX */
#ifdef KTR_PERCPU
ASSYM(GD_KTR_IDX, offsetof(struct globaldata, gd_ktr_idx));
diff --git a/sys/i386/include/globaldata.h b/sys/i386/include/globaldata.h
index c83d73cb164b..e7132274fc46 100644
--- a/sys/i386/include/globaldata.h
+++ b/sys/i386/include/globaldata.h
@@ -64,7 +64,6 @@ struct globaldata {
u_int gd_cpuid;
u_int gd_other_cpus;
SLIST_ENTRY(globaldata) gd_allcpu;
- int gd_witness_spin_check;
struct lock_list_entry *gd_spinlocks;
#ifdef KTR_PERCPU
#ifdef KTR
diff --git a/sys/i386/include/pcpu.h b/sys/i386/include/pcpu.h
index c83d73cb164b..e7132274fc46 100644
--- a/sys/i386/include/pcpu.h
+++ b/sys/i386/include/pcpu.h
@@ -64,7 +64,6 @@ struct globaldata {
u_int gd_cpuid;
u_int gd_other_cpus;
SLIST_ENTRY(globaldata) gd_allcpu;
- int gd_witness_spin_check;
struct lock_list_entry *gd_spinlocks;
#ifdef KTR_PERCPU
#ifdef KTR