From 4ec78965e82956bcc6a8fc2d97ddbc6daf07a649 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 12 Dec 2001 08:07:41 +0000 Subject: [PATCH] Axe an unneeded PCPU_SET(spinlocks, NULL) that I missed earlier. --- sys/amd64/amd64/mp_machdep.c | 1 - sys/amd64/amd64/mptable.c | 1 - sys/amd64/include/mptable.h | 1 - sys/i386/i386/mp_machdep.c | 1 - sys/i386/i386/mptable.c | 1 - sys/i386/include/mptable.h | 1 - 6 files changed, 6 deletions(-) diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 9d86daec5688..d59e76c45650 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 9d86daec5688..d59e76c45650 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 9d86daec5688..d59e76c45650 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); diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index 9d86daec5688..d59e76c45650 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/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/i386/i386/mptable.c b/sys/i386/i386/mptable.c index 9d86daec5688..d59e76c45650 100644 --- a/sys/i386/i386/mptable.c +++ b/sys/i386/i386/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/i386/include/mptable.h b/sys/i386/include/mptable.h index 9d86daec5688..d59e76c45650 100644 --- a/sys/i386/include/mptable.h +++ b/sys/i386/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);