summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-12-12 08:07:41 +0000
committerjhb <jhb@FreeBSD.org>2001-12-12 08:07:41 +0000
commit6394a9f7167c3bf784d2e4133deed3cecf0595c7 (patch)
tree8bb5b530877725703c9f82395b0cae8741ff4afc /sys/amd64
parent13d622545cac749139a5a9f7c3febc2735379d9d (diff)
downloadFreeBSD-src-6394a9f7167c3bf784d2e4133deed3cecf0595c7.zip
FreeBSD-src-6394a9f7167c3bf784d2e4133deed3cecf0595c7.tar.gz
Axe an unneeded PCPU_SET(spinlocks, NULL) that I missed earlier.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/mp_machdep.c1
-rw-r--r--sys/amd64/amd64/mptable.c1
-rw-r--r--sys/amd64/include/mptable.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index 9d86dae..d59e76c 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -2241,7 +2241,6 @@ ap_init(void)
* something unique to lock with.
*/
PCPU_SET(curthread, PCPU_GET(idlethread));
- PCPU_SET(spinlocks, NULL);
/* lock against other AP's that are waking up */
mtx_lock_spin(&ap_boot_mtx);
diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c
index 9d86dae..d59e76c 100644
--- a/sys/amd64/amd64/mptable.c
+++ b/sys/amd64/amd64/mptable.c
@@ -2241,7 +2241,6 @@ ap_init(void)
* something unique to lock with.
*/
PCPU_SET(curthread, PCPU_GET(idlethread));
- PCPU_SET(spinlocks, NULL);
/* lock against other AP's that are waking up */
mtx_lock_spin(&ap_boot_mtx);
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index 9d86dae..d59e76c 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -2241,7 +2241,6 @@ ap_init(void)
* something unique to lock with.
*/
PCPU_SET(curthread, PCPU_GET(idlethread));
- PCPU_SET(spinlocks, NULL);
/* lock against other AP's that are waking up */
mtx_lock_spin(&ap_boot_mtx);
OpenPOWER on IntegriCloud