diff options
author | mp <mp@FreeBSD.org> | 2001-10-08 00:44:21 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2001-10-08 00:44:21 +0000 |
commit | 03c9a58b563ae142dc93c9099e7ccd4c23640a3d (patch) | |
tree | 5612e3217d925f36c3c38d2b63c513657ddd11ad /sys | |
parent | dbebfe18a15ceac757fc126dd8caa59045ec9e47 (diff) | |
download | FreeBSD-src-03c9a58b563ae142dc93c9099e7ccd4c23640a3d.zip FreeBSD-src-03c9a58b563ae142dc93c9099e7ccd4c23640a3d.tar.gz |
Add a call to init_param() to initialize some necessary variables.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 3 | ||||
-rw-r--r-- | sys/powerpc/powerpc/machdep.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 6a689d6..d55b35a 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 6a689d6..d55b35a 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); |