summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-04-06 07:20:27 +0000
committerjhb <jhb@FreeBSD.org>2001-04-06 07:20:27 +0000
commitf6457b3b85debbf44298cefcae8d4e4066a30661 (patch)
treedc90392f8ea94d1cf0e87a23ec032342ac46f5b6
parent4062f7d7194815626dcf4e78615f5bba1deae3f4 (diff)
downloadFreeBSD-src-f6457b3b85debbf44298cefcae8d4e4066a30661.zip
FreeBSD-src-f6457b3b85debbf44298cefcae8d4e4066a30661.tar.gz
Axe the per-cpu variable witness_spin_check as it was replaced by the
per-cpu spinlocks list.
-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 fac7049..c6f0970 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 c83d73c..e713227 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 fac7049..c6f0970 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 c83d73c..e713227 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 c83d73c..e713227 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
OpenPOWER on IntegriCloud