summaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:58:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:58:50 +0000
commit2d089dc551efe8a4004f99b557081ea313891050 (patch)
tree015a91c1480d57159d83fa495068cb7eed8d110b /sys/ddb/db_command.c
parentedc9c7f6c9998a46c76c042e4ec02f6dfd1e2f8b (diff)
Remove old vm.
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 809487af412..ae9c1aa91c4 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_command.c,v 1.20 2001/04/18 23:17:25 art Exp $ */
+/* $OpenBSD: db_command.c,v 1.21 2001/06/27 04:58:42 art Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
@@ -52,10 +52,8 @@
#include <vm/vm.h>
-#ifdef UVM
#include <uvm/uvm_extern.h>
#include <uvm/uvm_ddb.h>
-#endif
/*
* Exported global variables
@@ -295,11 +293,7 @@ db_map_print_cmd(addr, have_addr, count, modif)
if (modif[0] == 'f')
full = TRUE;
-#if defined(UVM)
uvm_map_printit((vm_map_t) addr, full, db_printf);
-#else
- _vm_map_print((vm_map_t) addr, full, db_printf);
-#endif
}
/*ARGSUSED*/
void
@@ -334,11 +328,7 @@ db_object_print_cmd(addr, have_addr, count, modif)
if (modif[0] == 'f')
full = TRUE;
-#if defined(UVM)
uvm_object_printit((struct uvm_object *) addr, full, db_printf);
-#else
- _vm_object_print((vm_object_t) addr, full, db_printf);
-#endif
}
/*ARGSUSED*/