diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-08-09 10:40:19 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-08-09 10:40:19 +0000 |
commit | 2220ced8170aff304378109d961c32d6fc55779b (patch) | |
tree | 0df382349bd530ae1edac92d1e19c76dc94e88e9 /sys/arch/mvmeppc | |
parent | 2890459c5b942e808a4a0b8a5f352cb21e345748 (diff) |
Rototill system V message queues.
No longer allocate a static amount of memory for messages in MD
boot path; message queues, message metadata, and message data now
all use dynamic memory, which means that runtime sysctls should now
be trivial to implement.
Since I'm going to be around all week to fix any breakage, this should
probably just go in now.
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/mvmeppc/machdep.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/mvmeppc/mvmeppc/machdep.c b/sys/arch/mvmeppc/mvmeppc/machdep.c index ea3a62855c8..4310933de8d 100644 --- a/sys/arch/mvmeppc/mvmeppc/machdep.c +++ b/sys/arch/mvmeppc/mvmeppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.59 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.60 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -44,9 +44,6 @@ #include <sys/signalvar.h> #include <sys/reboot.h> #include <sys/syscallargs.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/syslog.h> #include <sys/extent.h> #include <sys/systm.h> @@ -456,13 +453,6 @@ allocsys(v) #define valloc(name, type, num) \ v = (caddr_t)(((name) = (type *)v) + (num)) -#ifdef SYSVMSG - valloc(msgpool, char, msginfo.msgmax); - valloc(msgmaps, struct msgmap, msginfo.msgseg); - valloc(msghdrs, struct msg, msginfo.msgtql); - valloc(msqids, struct msqid_ds, msginfo.msgmni); -#endif - return v; } |