From 02577fa23efe9d6f6d657bdab7e2497f6ad24b55 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 29 Oct 1999 05:17:20 +0000 Subject: [PATCH] Remove the last vestiges of "vm_map_t phys_map". It's been unused since i386/i386/machdep.c rev 1.45 (or 1994 :-) ). --- sys/vm/vm_kern.c | 1 - sys/vm/vm_kern.h | 1 - sys/vm/vm_object.c | 2 -- 3 files changed, 4 deletions(-) diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 409c5f487fd..895c5ae5e2e 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -91,7 +91,6 @@ vm_map_t clean_map=0; vm_map_t buffer_map=0; vm_map_t mb_map=0; int mb_map_full=0; -vm_map_t phys_map=0; /* * kmem_alloc_pageable: diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h index 9be497653d8..2f1fe76aae4 100644 --- a/sys/vm/vm_kern.h +++ b/sys/vm/vm_kern.h @@ -74,7 +74,6 @@ extern vm_map_t kmem_map; extern vm_map_t mb_map; extern int mb_map_full; extern vm_map_t clean_map; -extern vm_map_t phys_map; extern vm_map_t exec_map; extern vm_offset_t kernel_vm_end; diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 48c493a1764..999d9bec782 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -1606,8 +1606,6 @@ vm_object_in_map( object) return 1; if( _vm_object_in_map( buffer_map, object, 0)) return 1; - if( _vm_object_in_map( phys_map, object, 0)) - return 1; if( _vm_object_in_map( mb_map, object, 0)) return 1; return 0;