diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/machdep.c | 14 | ||||
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 13 | ||||
-rw-r--r-- | sys/arch/aviion/aviion/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/hp300/hp300/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/machdep.c | 21 | ||||
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/luna88k/luna88k/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/mac68k/mac68k/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/macppc/macppc/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/machdep.c | 11 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/mvmeppc/mvmeppc/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/sgi/sgi/machdep.c | 11 | ||||
-rw-r--r-- | sys/arch/socppc/socppc/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/solbourne/solbourne/machdep.c | 11 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 11 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/vax/vax/machdep.c | 13 |
19 files changed, 19 insertions, 218 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c index f2d1f09302d..fb6be61c516 100644 --- a/sys/arch/alpha/alpha/machdep.c +++ b/sys/arch/alpha/alpha/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.117 2009/02/04 17:19:16 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.118 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */ /*- @@ -87,9 +87,6 @@ #ifndef NO_IEEE #include <machine/fpu.h> #endif -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/timetc.h> #include <sys/mount.h> @@ -817,15 +814,6 @@ allocsys(v) #define valloc(name, type, num) \ (name) = (type *)v; v = (caddr_t)ALIGN((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 - -#undef valloc - return v; } diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index c1745a0f857..4c244b1e2a1 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.98 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.99 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */ /*- @@ -87,10 +87,6 @@ #include <sys/kcore.h> #include <sys/syscallargs.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif - #ifdef KGDB #include <sys/kgdb.h> #endif @@ -380,13 +376,6 @@ allocsys(vaddr_t v) #define valloc(name, type, num) \ v = (vaddr_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; } diff --git a/sys/arch/aviion/aviion/machdep.c b/sys/arch/aviion/aviion/machdep.c index 688d3e06389..b28cef05d15 100644 --- a/sys/arch/aviion/aviion/machdep.c +++ b/sys/arch/aviion/aviion/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.30 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.31 2009/08/09 10:40:17 blambert Exp $ */ /* * Copyright (c) 2007 Miodrag Vallat. * @@ -72,9 +72,6 @@ #include <sys/mount.h> #include <sys/msgbuf.h> #include <sys/syscallargs.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/exec.h> #include <sys/sysctl.h> #include <sys/errno.h> @@ -344,13 +341,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; } diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c index 8661452c4f8..5e1d61baec0 100644 --- a/sys/arch/hp300/hp300/machdep.c +++ b/sys/arch/hp300/hp300/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.123 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.124 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.121 1999/03/26 23:41:29 mycroft Exp $ */ /* @@ -66,9 +66,6 @@ #include <sys/sysctl.h> #include <sys/syscallargs.h> #include <sys/syslog.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <machine/db_machdep.h> #ifdef DDB @@ -371,13 +368,6 @@ allocsys(v) #define valloclim(name, type, num, lim) \ (name) = (type *)v; v = (caddr_t)((lim) = ((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); } diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index 68858a6f1bd..eb38acffd6c 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.175 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.176 2009/08/09 10:40:17 blambert Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -48,9 +48,6 @@ #include <sys/core.h> #include <sys/kcore.h> #include <sys/extent.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/mount.h> #include <sys/syscallargs.h> @@ -394,13 +391,6 @@ hppa_init(start) v1 = v = round_page(start); #define valloc(name, type, num) (name) = (type *)v; v = (vaddr_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 #undef valloc v = round_page(v); bzero ((void *)v1, (v - v1)); diff --git a/sys/arch/hppa64/hppa64/machdep.c b/sys/arch/hppa64/hppa64/machdep.c index 028dc504818..78e5a34a72c 100644 --- a/sys/arch/hppa64/hppa64/machdep.c +++ b/sys/arch/hppa64/hppa64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.16 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.17 2009/08/09 10:40:17 blambert Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -39,9 +39,6 @@ #include <sys/core.h> #include <sys/kcore.h> #include <sys/extent.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/mount.h> #include <sys/syscallargs.h> @@ -266,22 +263,6 @@ TODO hpmc/toc/pfr EX_NOWAIT)) panic("cannot reserve main memory"); -#ifdef SYSVMSG -{ - vaddr_t v; - - v = round_page(start); -#define valloc(name, type, num) (name) = (type *)v; v = (vaddr_t)((name)+(num)) - valloc(msgpool, char, msginfo.msgmax); - valloc(msgmaps, struct msgmap, msginfo.msgseg); - valloc(msghdrs, struct msg, msginfo.msgtql); - valloc(msqids, struct msqid_ds, msginfo.msgmni); -#undef valloc - v = round_page(v); - bzero ((void *)start, (v - start)); - start = v; -} -#endif /* sets resvphysmem */ pmap_bootstrap(start); diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 98750e512b8..70c41cbc614 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.455 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.456 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -91,9 +91,6 @@ #include <sys/core.h> #include <sys/kcore.h> #include <sys/sensors.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #ifdef KGDB #include <sys/kgdb.h> @@ -527,13 +524,6 @@ allocsys(caddr_t 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; } diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c index ff95fd3e908..7c3ea5c6006 100644 --- a/sys/arch/luna88k/luna88k/machdep.c +++ b/sys/arch/luna88k/luna88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.65 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.66 2009/08/09 10:40:17 blambert Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -69,9 +69,6 @@ #include <sys/mount.h> #include <sys/msgbuf.h> #include <sys/syscallargs.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/exec.h> #include <sys/sysctl.h> #include <sys/errno.h> @@ -526,13 +523,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; } diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c index 1122c08d605..c9610b24db3 100644 --- a/sys/arch/mac68k/mac68k/machdep.c +++ b/sys/arch/mac68k/mac68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.150 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.151 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.207 1998/07/08 04:39:34 thorpej Exp $ */ /* @@ -94,9 +94,6 @@ #include <sys/mount.h> #include <sys/extent.h> #include <sys/syscallargs.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <machine/db_machdep.h> #include <ddb/db_sym.h> @@ -480,13 +477,6 @@ allocsys(v) #define valloclim(name, type, num, lim) \ (name) = (type *)v; v = (caddr_t)((lim) = ((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); } diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c index e7cc2ed692f..a87a0b852d7 100644 --- a/sys/arch/macppc/macppc/machdep.c +++ b/sys/arch/macppc/macppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.110 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.111 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -54,9 +54,6 @@ #include <uvm/uvm_extern.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <net/netisr.h> #include <dev/cons.h> @@ -544,13 +541,6 @@ allocsys(caddr_t 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; } 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); } diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index c9d52962de3..8f0618e21e7 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.232 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.233 2009/08/09 10:40:17 blambert Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -56,9 +56,6 @@ #include <sys/mount.h> #include <sys/msgbuf.h> #include <sys/syscallargs.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/exec.h> #include <sys/sysctl.h> #include <sys/errno.h> @@ -461,13 +458,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; } 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; } diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c index 3ff20a98bd3..3c6e3333fb2 100644 --- a/sys/arch/sgi/sgi/machdep.c +++ b/sys/arch/sgi/sgi/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.78 2009/08/06 21:06:32 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.79 2009/08/09 10:40:17 blambert Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -46,9 +46,6 @@ #ifdef SYSVSEM #include <sys/sem.h> #endif -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <uvm/uvm_extern.h> @@ -581,12 +578,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); } diff --git a/sys/arch/socppc/socppc/machdep.c b/sys/arch/socppc/socppc/machdep.c index b6229ea6ce1..b5efd4e5ba3 100644 --- a/sys/arch/socppc/socppc/machdep.c +++ b/sys/arch/socppc/socppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.15 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.16 2009/08/09 10:40:17 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -39,9 +39,6 @@ #include <sys/extent.h> #include <sys/malloc.h> #include <sys/mount.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/msgbuf.h> #include <sys/proc.h> #include <sys/reboot.h> @@ -807,13 +804,6 @@ allocsys(caddr_t 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; } diff --git a/sys/arch/solbourne/solbourne/machdep.c b/sys/arch/solbourne/solbourne/machdep.c index 77d353bb009..0587d885e06 100644 --- a/sys/arch/solbourne/solbourne/machdep.c +++ b/sys/arch/solbourne/solbourne/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.11 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.12 2009/08/09 10:40:18 blambert Exp $ */ /* OpenBSD: machdep.c,v 1.105 2005/04/11 15:13:01 deraadt Exp */ /* @@ -58,9 +58,6 @@ #include <sys/mount.h> #include <sys/msgbuf.h> #include <sys/syscallargs.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/exec.h> #include <sys/sysctl.h> #include <sys/extent.h> @@ -253,12 +250,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); } diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index b54c0096f4b..600593896e1 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.120 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.121 2009/08/09 10:40:18 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */ /* @@ -58,9 +58,6 @@ #include <sys/mount.h> #include <sys/msgbuf.h> #include <sys/syscallargs.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif #include <sys/exec.h> #include <sys/sysctl.h> #include <sys/extent.h> @@ -282,12 +279,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); } diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 383328b064a..f5bd8c8765c 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.118 2009/04/20 00:42:06 oga Exp $ */ +/* $OpenBSD: machdep.c,v 1.119 2009/08/09 10:40:18 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -97,10 +97,6 @@ #include <sys/exec_elf.h> #include <dev/rndvar.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif - #define _SPARC_BUS_DMA_PRIVATE #include <machine/autoconf.h> #include <machine/bus.h> @@ -289,12 +285,6 @@ allocsys(caddr_t 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); } diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c index c9ba240162b..b113a39a8ef 100644 --- a/sys/arch/vax/vax/machdep.c +++ b/sys/arch/vax/vax/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.103 2009/08/02 16:28:39 beck Exp $ */ +/* $OpenBSD: machdep.c,v 1.104 2009/08/09 10:40:18 blambert Exp $ */ /* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */ /* @@ -77,10 +77,6 @@ #include <uvm/uvm_extern.h> #include <uvm/uvm_swap.h> -#ifdef SYSVMSG -#include <sys/msg.h> -#endif - #include <net/netisr.h> #include <net/if.h> @@ -911,13 +907,6 @@ allocsys(v) register caddr_t v; { -#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); } |