aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Peek <mp@FreeBSD.org>2001-10-08 00:44:21 +0000
committerMark Peek <mp@FreeBSD.org>2001-10-08 00:44:21 +0000
commit351bd3334f89c1994617c2467390b8d565612cd6 (patch)
tree5612e3217d925f36c3c38d2b63c513657ddd11ad
parent962922dcd2101402276457df99985c5b7b77a6c1 (diff)
Notes
-rw-r--r--sys/powerpc/aim/machdep.c3
-rw-r--r--sys/powerpc/powerpc/machdep.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index 6a689d6d8f17..d55b35aa41c3 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -436,6 +436,9 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args)
globaldata_init(globalp, 0, sizeof(struct globaldata));
__asm ("mtsprg 0, %0" :: "r"(globalp));
+ /* Init basic tunables, hz etc */
+ init_param();
+
/* setup curproc so the mutexes work */
PCPU_SET(curthread, thread0);
diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c
index 6a689d6d8f17..d55b35aa41c3 100644
--- a/sys/powerpc/powerpc/machdep.c
+++ b/sys/powerpc/powerpc/machdep.c
@@ -436,6 +436,9 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args)
globaldata_init(globalp, 0, sizeof(struct globaldata));
__asm ("mtsprg 0, %0" :: "r"(globalp));
+ /* Init basic tunables, hz etc */
+ init_param();
+
/* setup curproc so the mutexes work */
PCPU_SET(curthread, thread0);