diff options
author | jhb <jhb@FreeBSD.org> | 2001-04-20 01:09:05 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-04-20 01:09:05 +0000 |
commit | 81a2b0cc18ba1c1906e77cf5a8db4f4166e4195c (patch) | |
tree | 6370f1bd5ced5a9fa767572a3d2f3dddb5bddfba /sys/amd64 | |
parent | 297eccb6eb84c27755c059bd6720c525ff807790 (diff) | |
download | FreeBSD-src-81a2b0cc18ba1c1906e77cf5a8db4f4166e4195c.zip FreeBSD-src-81a2b0cc18ba1c1906e77cf5a8db4f4166e4195c.tar.gz |
Make the ap_boot_mtx mutex static.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 2 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 7bc0a32..28a5c72 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 7bc0a32..28a5c72 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 7bc0a32..28a5c72 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; |