summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-22 21:29:06 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-22 21:29:06 +0000
commitf7d8374cdd6f173c7e15b3496758f6d0f49d57d5 (patch)
tree88eed3e8fd31ceaaea12f4b28503fb10bcc99807
parent7fd2b08e28e0e50f19b854785a07d6b15c0331e4 (diff)
Get rid of now unused extent_malloc_ok variable.
-rw-r--r--sys/arch/sgi/pci/macepcibridge.c4
-rw-r--r--sys/arch/sgi/sgi/machdep.c6
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/sgi/pci/macepcibridge.c b/sys/arch/sgi/pci/macepcibridge.c
index 9de3c526ee1..2f88ec16cf9 100644
--- a/sys/arch/sgi/pci/macepcibridge.c
+++ b/sys/arch/sgi/pci/macepcibridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macepcibridge.c,v 1.28 2009/07/22 21:28:44 miod Exp $ */
+/* $OpenBSD: macepcibridge.c,v 1.29 2009/07/22 21:29:04 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -611,8 +611,6 @@ mace_pcib_write_raw_8(bus_space_tag_t t, bus_space_handle_t h, bus_addr_t o,
}
}
-extern int extent_malloc_flags;
-
int
mace_pcib_space_map(bus_space_tag_t t, bus_addr_t offs, bus_size_t size,
int flags, bus_space_handle_t *bshp)
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c
index f296ef4b2b8..0737cc91a60 100644
--- a/sys/arch/sgi/sgi/machdep.c
+++ b/sys/arch/sgi/sgi/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.74 2009/06/15 17:01:26 beck Exp $ */
+/* $OpenBSD: machdep.c,v 1.75 2009/07/22 21:29:05 miod Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -105,8 +105,6 @@ int bufcachepercent = BUFCACHEPERCENT;
vm_map_t exec_map;
vm_map_t phys_map;
-int extent_malloc_flags = 0;
-
caddr_t msgbufbase;
vaddr_t uncached_base;
@@ -791,8 +789,6 @@ cpu_startup()
printf("avail mem = %u (%uMB)\n", ptoa(uvmexp.free),
ptoa(uvmexp.free)/1024/1024);
- extent_malloc_flags = EX_MALLOCOK;
-
/*
* Set up CPU-specific registers, cache, etc.
*/