summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-11-26 18:50:24 +0000
committereivind <eivind@FreeBSD.org>1998-11-26 18:50:24 +0000
commit3cf3a6389ea31d2b7253bde48d67ca97a35f28ab (patch)
treef85eb015f64d97d6dd3fd97bd800aca17431043d /sys/amd64
parent8fdbb5fce3dcffafe4407722bf38a7a0d32dee3b (diff)
downloadFreeBSD-src-3cf3a6389ea31d2b7253bde48d67ca97a35f28ab.zip
FreeBSD-src-3cf3a6389ea31d2b7253bde48d67ca97a35f28ab.tar.gz
Staticize.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c6
-rw-r--r--sys/amd64/amd64/mp_machdep.c6
-rw-r--r--sys/amd64/amd64/mptable.c6
-rw-r--r--sys/amd64/include/mptable.h6
4 files changed, 12 insertions, 12 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index faa7707..e65e37b 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.314 1998/10/30 05:41:14 msmith Exp $
+ * $Id: machdep.c,v 1.315 1998/11/03 21:07:50 msmith Exp $
*/
#include "apm.h"
@@ -159,9 +159,9 @@ SYSCTL_INT(_debug, OID_AUTO, tlb_flush_count,
#endif
#ifdef PC98
-int ispc98 = 1;
+static int ispc98 = 1;
#else
-int ispc98 = 0;
+static int ispc98 = 0;
#endif
SYSCTL_INT(_machdep, OID_AUTO, ispc98, CTLFLAG_RD, &ispc98, 0, "");
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index adf5131..0575e03 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c
index adf5131..0575e03 100644
--- a/sys/amd64/amd64/mptable.c
+++ b/sys/amd64/amd64/mptable.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index adf5131..0575e03 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
OpenPOWER on IntegriCloud