summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-03-23 13:28:35 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-03-23 13:28:35 +0000
commitd5dbb93c5f932440dcab912174cdcaace0478710 (patch)
treec8b5272c356b9a1d36d58ac8de203ac79f55c530 /sys/arch/hppa
parent22d4ae0d10ce3d60ef93721631a03beb15f29642 (diff)
Add variables for config(8) -e time tweak of systemV shared memory
parameters. Ok millert@, miod@, maja@
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/machdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index af2503c9ce1..3c675e3e1cd 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.63 2002/03/19 19:03:20 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.64 2002/03/23 13:28:34 espie Exp $ */
/*
* Copyright (c) 1999-2002 Michael Shalayeff
@@ -492,6 +492,9 @@ hppa_init(start)
valloc(buf, struct buf, nbuf);
#ifdef SYSVSHM
+ shminfo.shmmax = shmmaxpgs;
+ shminfo.shmall = shmmaxpgs;
+ shminfo.shmseg = shmseg;
valloc(shmsegs, struct shmid_ds, shminfo.shmmni);
#endif
#ifdef SYSVSEM