diff options
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. |