From 242d02a13fafd805859ba0dc427cdfaac7184e69 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 20 Apr 2001 01:09:05 +0000 Subject: Make the ap_boot_mtx mutex static. --- sys/amd64/amd64/mp_machdep.c | 2 +- sys/amd64/amd64/mptable.c | 2 +- sys/amd64/include/mptable.h | 2 +- sys/i386/i386/mp_machdep.c | 2 +- sys/i386/i386/mptable.c | 2 +- sys/i386/include/mptable.h | 2 +- sys/kern/subr_smp.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 7bc0a320d028..28a5c72ba8e1 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -234,7 +234,7 @@ typedef struct BASETABLE_ENTRY { #define MP_ANNOUNCE_POST 0x19 /* used to hold the AP's until we are ready to release them */ -struct mtx ap_boot_mtx; +static struct mtx ap_boot_mtx; /** XXX FIXME: where does this really belong, isa.h/isa.c perhaps? */ int current_postcode; diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index 7bc0a320d028..28a5c72ba8e1 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/mptable.c @@ -234,7 +234,7 @@ typedef struct BASETABLE_ENTRY { #define MP_ANNOUNCE_POST 0x19 /* used to hold the AP's until we are ready to release them */ -struct mtx ap_boot_mtx; +static struct mtx ap_boot_mtx; /** XXX FIXME: where does this really belong, isa.h/isa.c perhaps? */ int current_postcode; diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 7bc0a320d028..28a5c72ba8e1 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -234,7 +234,7 @@ typedef struct BASETABLE_ENTRY { #define MP_ANNOUNCE_POST 0x19 /* used to hold the AP's until we are ready to release them */ -struct mtx ap_boot_mtx; +static struct mtx ap_boot_mtx; /** XXX FIXME: where does this really belong, isa.h/isa.c perhaps? */ int current_postcode; diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index 7bc0a320d028..28a5c72ba8e1 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -234,7 +234,7 @@ typedef struct BASETABLE_ENTRY { #define MP_ANNOUNCE_POST 0x19 /* used to hold the AP's until we are ready to release them */ -struct mtx ap_boot_mtx; +static struct mtx ap_boot_mtx; /** XXX FIXME: where does this really belong, isa.h/isa.c perhaps? */ int current_postcode; diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c index 7bc0a320d028..28a5c72ba8e1 100644 --- a/sys/i386/i386/mptable.c +++ b/sys/i386/i386/mptable.c @@ -234,7 +234,7 @@ typedef struct BASETABLE_ENTRY { #define MP_ANNOUNCE_POST 0x19 /* used to hold the AP's until we are ready to release them */ -struct mtx ap_boot_mtx; +static struct mtx ap_boot_mtx; /** XXX FIXME: where does this really belong, isa.h/isa.c perhaps? */ int current_postcode; diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h index 7bc0a320d028..28a5c72ba8e1 100644 --- a/sys/i386/include/mptable.h +++ b/sys/i386/include/mptable.h @@ -234,7 +234,7 @@ typedef struct BASETABLE_ENTRY { #define MP_ANNOUNCE_POST 0x19 /* used to hold the AP's until we are ready to release them */ -struct mtx ap_boot_mtx; +static struct mtx ap_boot_mtx; /** XXX FIXME: where does this really belong, isa.h/isa.c perhaps? */ int current_postcode; diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 7bc0a320d028..28a5c72ba8e1 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -234,7 +234,7 @@ typedef struct BASETABLE_ENTRY { #define MP_ANNOUNCE_POST 0x19 /* used to hold the AP's until we are ready to release them */ -struct mtx ap_boot_mtx; +static struct mtx ap_boot_mtx; /** XXX FIXME: where does this really belong, isa.h/isa.c perhaps? */ int current_postcode; -- cgit v1.3