summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-10-25 17:31:27 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-10-25 17:31:27 +0000
commit80e09734c1b4140a05ceebd9e70b8649d35a915e (patch)
tree2e748e3499ad74664d90856c48c970ac7a04ad71 /sys
parent5e977ab8691835ccbe3484986ed59b355136b69c (diff)
Remove vmmap; it isn't used.
ok jsing@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/machdep.c5
-rw-r--r--sys/arch/hppa64/hppa64/machdep.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 8d906c5918b..0217d9e4823 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.238 2014/10/23 16:57:45 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.239 2014/10/25 17:31:26 kettenis Exp $ */
/*
* Copyright (c) 1999-2003 Michael Shalayeff
@@ -145,8 +145,6 @@ struct consdev *cn_tab;
struct vm_map *exec_map = NULL;
struct vm_map *phys_map = NULL;
-/* Virtual page frame for /dev/mem (see mem.c) */
-vaddr_t vmmap;
void delay_init(void);
static __inline void fall(int, int, int, int, int);
@@ -646,7 +644,6 @@ cpu_startup(void)
* Set up buffers, so they can be used to read disk labels.
*/
bufinit();
- vmmap = uvm_km_valloc_wait(kernel_map, NBPG);
/*
* Configure the system.
diff --git a/sys/arch/hppa64/hppa64/machdep.c b/sys/arch/hppa64/hppa64/machdep.c
index c3437abd796..c4dbdba4c45 100644
--- a/sys/arch/hppa64/hppa64/machdep.c
+++ b/sys/arch/hppa64/hppa64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.74 2014/10/12 20:39:46 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.75 2014/10/25 17:31:26 kettenis Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -120,8 +120,6 @@ struct consdev *cn_tab;
struct vm_map *exec_map = NULL;
struct vm_map *phys_map = NULL;
-/* Virtual page frame for /dev/mem (see mem.c) */
-vaddr_t vmmap;
void delay_init(void);
static __inline void fall(int, int, int, int, int);
@@ -401,7 +399,6 @@ cpu_startup(void)
* Set up buffers, so they can be used to read disk labels.
*/
bufinit();
- vmmap = uvm_km_valloc_wait(kernel_map, NBPG);
/*
* Configure the system.