Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern remove pool link set attach code



details:   https://anonhg.NetBSD.org/src/rev/34cc9bcbb6b6
branches:  trunk
changeset: 747400:34cc9bcbb6b6
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Sep 13 19:07:18 2009 +0000

description:
remove pool link set attach code

diffstat:

 sys/rump/librump/rumpkern/pool.c |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (35 lines):

diff -r 30dc16b6d957 -r 34cc9bcbb6b6 sys/rump/librump/rumpkern/pool.c
--- a/sys/rump/librump/rumpkern/pool.c  Sun Sep 13 19:04:29 2009 +0000
+++ b/sys/rump/librump/rumpkern/pool.c  Sun Sep 13 19:07:18 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pool.c,v 1.14 2009/06/03 16:07:21 pooka Exp $  */
+/*     $NetBSD: pool.c,v 1.15 2009/09/13 19:07:18 pooka Exp $  */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pool.c,v 1.14 2009/06/03 16:07:21 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pool.c,v 1.15 2009/09/13 19:07:18 pooka Exp $");
 
 #ifndef RUMP_USE_REAL_ALLOCATORS
 
@@ -45,15 +45,8 @@
 void
 pool_subsystem_init()
 {
-       __link_set_decl(pools, struct link_pool_init);
-       struct link_pool_init *const *pi;
 
-#define _pi(name) (*pi)->name
-       __link_set_foreach(pi, pools) {
-               pool_init(_pi(pp), _pi(size), _pi(align), _pi(align_offset),
-                   _pi(flags), _pi(wchan), _pi(palloc), _pi(ipl));
-       }
-#undef _pi
+       /* nada */
 }
 
 void



Home | Main Index | Thread Index | Old Index