Kill kmeminit().
This commit is contained in:
parent
ce098d3b4e
commit
20fc3c6998
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_malloc.c,v 1.143 2014/05/19 02:51:24 rmind Exp $ */
|
||||
/* $NetBSD: kern_malloc.c,v 1.144 2015/02/06 18:19:22 maxv Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987, 1991, 1993
|
||||
@ -70,7 +70,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_malloc.c,v 1.143 2014/05/19 02:51:24 rmind Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_malloc.c,v 1.144 2015/02/06 18:19:22 maxv Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/malloc.h>
|
||||
@ -200,11 +200,3 @@ kern_realloc(void *curaddr, unsigned long newsize, int flags)
|
||||
free(curaddr, ksp);
|
||||
return newaddr;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize the kernel memory allocator
|
||||
*/
|
||||
void
|
||||
kmeminit(void)
|
||||
{
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rump.c,v 1.315 2015/01/07 22:24:04 pooka Exp $ */
|
||||
/* $NetBSD: rump.c,v 1.316 2015/02/06 18:19:22 maxv Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
|
||||
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.315 2015/01/07 22:24:04 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.316 2015/02/06 18:19:22 maxv Exp $");
|
||||
|
||||
#include <sys/systm.h>
|
||||
#define ELFSIZE ARCH_ELFSIZE
|
||||
@ -307,7 +307,6 @@ rump_init(void)
|
||||
prop_kern_init();
|
||||
|
||||
kmem_init();
|
||||
kmeminit();
|
||||
|
||||
uvm_ra_init();
|
||||
uao_init();
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_extern.h,v 1.192 2014/12/14 23:48:58 chs Exp $ */
|
||||
/* $NetBSD: uvm_extern.h,v 1.193 2015/02/06 18:19:22 maxv Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
@ -741,7 +741,6 @@ bool uvn_needs_writefault_p(struct uvm_object *);
|
||||
|
||||
/* kern_malloc.c */
|
||||
void kmeminit_nkmempages(void);
|
||||
void kmeminit(void);
|
||||
extern int nkmempages;
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_km.c,v 1.138 2013/01/29 21:29:40 para Exp $ */
|
||||
/* $NetBSD: uvm_km.c,v 1.139 2015/02/06 18:19:22 maxv Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
@ -152,7 +152,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.138 2013/01/29 21:29:40 para Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.139 2015/02/06 18:19:22 maxv Exp $");
|
||||
|
||||
#include "opt_uvmhist.h"
|
||||
|
||||
@ -364,10 +364,7 @@ uvm_km_bootstrap(vaddr_t start, vaddr_t end)
|
||||
void
|
||||
uvm_km_init(void)
|
||||
{
|
||||
|
||||
kmem_init();
|
||||
|
||||
kmeminit(); // killme
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user