summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1993-07-19 09:57:22 +0000
committercgd <cgd@NetBSD.org>1993-07-19 09:57:22 +0000
commit57ee917973ea0ebd2c8a8cd8be0f040eadf0877d (patch)
treef2a50668e01b1860b376327ea803b58ec45f84a4 /sys
parente916333aea3206ee4212c08720ef9bb55d03af47 (diff)
allocate out of kmem_map, not buffer_map. buffer_map is for
*buffers*... hopefully this won't fragment kmem_map too much. it should probably be put into its own map, but doesn't need to be right now.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_lkm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c
index 77ab1c78e6e..a216beb7477 100644
--- a/sys/kern/kern_lkm.c
+++ b/sys/kern/kern_lkm.c
@@ -36,7 +36,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_lkm.c,v 1.2 1993/06/07 23:10:09 cgd Exp $
+ * $Id: kern_lkm.c,v 1.3 1993/07/19 09:57:22 cgd Exp $
*/
#include "param.h"
@@ -129,7 +129,7 @@ lkmunreserve()
/*
* Actually unreserve the memory
*/
- kmem_free( buffer_map, curp->area, curp->size);/**/
+ kmem_free( kmem_map, curp->area, curp->size);/**/
lkm_state = LKMS_IDLE;
}
@@ -209,7 +209,7 @@ int flag;
*/
curp->size = resrvp->size;
- curp->area = (char *)kmem_alloc( buffer_map, curp->size);/**/
+ curp->area = (char *)kmem_alloc( kmem_map, curp->size);/**/
curp->offset = 0; /* load offset*/