diff options
author | pluknet <pluknet@FreeBSD.org> | 2011-01-21 10:26:26 +0000 |
---|---|---|
committer | pluknet <pluknet@FreeBSD.org> | 2011-01-21 10:26:26 +0000 |
commit | 5f536fc1d3dfb28e75a18d60bddcfacdf3f22617 (patch) | |
tree | 7eea8c732d50e7ebda3498e40f7ccad228cc1453 /sys/mips | |
parent | 8309d738784bb61d488dbea96837e5d407437cfc (diff) | |
download | FreeBSD-src-5f536fc1d3dfb28e75a18d60bddcfacdf3f22617.zip FreeBSD-src-5f536fc1d3dfb28e75a18d60bddcfacdf3f22617.tar.gz |
Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize.
Submitted by: perryh pluto.rain.com (previous version)
Reviewed by: jhb
Approved by: kib (mentor)
Tested by: universe
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/mips/machdep.c | 1 | ||||
-rw-r--r-- | sys/mips/mips/pmap.c | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/mips/mips/machdep.c b/sys/mips/mips/machdep.c index 9ddec73..4be1307 100644 --- a/sys/mips/mips/machdep.c +++ b/sys/mips/mips/machdep.c @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include "opt_cputype.h" #include "opt_ddb.h" #include "opt_md.h" -#include "opt_msgbuf.h" #include <sys/param.h> #include <sys/proc.h> diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c index 8530c6e..3b858de 100644 --- a/sys/mips/mips/pmap.c +++ b/sys/mips/mips/pmap.c @@ -68,7 +68,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include "opt_msgbuf.h" #include "opt_ddb.h" #include <sys/param.h> @@ -546,8 +545,8 @@ again: /* * Steal the message buffer from the beginning of memory. */ - msgbufp = (struct msgbuf *)pmap_steal_memory(MSGBUF_SIZE); - msgbufinit(msgbufp, MSGBUF_SIZE); + msgbufp = (struct msgbuf *)pmap_steal_memory(msgbufsize); + msgbufinit(msgbufp, msgbufsize); /* * Steal thread0 kstack. |