summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-08-09 10:40:19 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-08-09 10:40:19 +0000
commit2220ced8170aff304378109d961c32d6fc55779b (patch)
tree0df382349bd530ae1edac92d1e19c76dc94e88e9 /sys/arch/mvme68k
parent2890459c5b942e808a4a0b8a5f352cb21e345748 (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/mvme68k')
-rw-r--r--sys/arch/mvme68k/mvme68k/machdep.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c
index a17d82742f5..674c03e0461 100644
--- a/sys/arch/mvme68k/mvme68k/machdep.c
+++ b/sys/arch/mvme68k/mvme68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.117 2009/08/02 16:28:39 beck Exp $ */
+/* $OpenBSD: machdep.c,v 1.118 2009/08/09 10:40:17 blambert Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -85,9 +85,6 @@
#include <sys/vnode.h>
#include <sys/sysctl.h>
#include <sys/syscallargs.h>
-#ifdef SYSVMSG
-#include <sys/msg.h>
-#endif
#include <sys/evcount.h>
#include <machine/atomic.h>
@@ -318,12 +315,6 @@ allocsys(caddr_t v)
#define valloc(name, type, num) \
(name) = (type *)v; v = (caddr_t)((name) + (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);
}