Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Kill kmeminit().
details: https://anonhg.NetBSD.org/src/rev/2556af3a8349
branches: trunk
changeset: 336007:2556af3a8349
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Feb 06 18:19:22 2015 +0000
description:
Kill kmeminit().
diffstat:
sys/kern/kern_malloc.c | 12 ++----------
sys/rump/librump/rumpkern/rump.c | 5 ++---
sys/uvm/uvm_extern.h | 3 +--
sys/uvm/uvm_km.c | 7 ++-----
4 files changed, 7 insertions(+), 20 deletions(-)
diffs (102 lines):
diff -r c324058e4fcd -r 2556af3a8349 sys/kern/kern_malloc.c
--- a/sys/kern/kern_malloc.c Fri Feb 06 17:35:46 2015 +0000
+++ b/sys/kern/kern_malloc.c Fri Feb 06 18:19:22 2015 +0000
@@ -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 @@
free(curaddr, ksp);
return newaddr;
}
-
-/*
- * Initialize the kernel memory allocator
- */
-void
-kmeminit(void)
-{
-}
diff -r c324058e4fcd -r 2556af3a8349 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Fri Feb 06 17:35:46 2015 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Fri Feb 06 18:19:22 2015 +0000
@@ -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 @@
prop_kern_init();
kmem_init();
- kmeminit();
uvm_ra_init();
uao_init();
diff -r c324058e4fcd -r 2556af3a8349 sys/uvm/uvm_extern.h
--- a/sys/uvm/uvm_extern.h Fri Feb 06 17:35:46 2015 +0000
+++ b/sys/uvm/uvm_extern.h Fri Feb 06 18:19:22 2015 +0000
@@ -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 @@
/* kern_malloc.c */
void kmeminit_nkmempages(void);
-void kmeminit(void);
extern int nkmempages;
#endif /* _KERNEL */
diff -r c324058e4fcd -r 2556af3a8349 sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c Fri Feb 06 17:35:46 2015 +0000
+++ b/sys/uvm/uvm_km.c Fri Feb 06 18:19:22 2015 +0000
@@ -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 @@
void
uvm_km_init(void)
{
-
kmem_init();
-
- kmeminit(); // killme
}
/*
Home |
Main Index |
Thread Index |
Old Index