Module Name: src Committed By: he Date: Sun Jan 29 20:20:18 UTC 2012
Modified Files: src/sys/kern: subr_pool.c Log Message: Use the same style for initialization of pool_allocator_kmem under POOL_SUBPAGE as all the other poll_allocator structs. Fixes build problem for acorn26. To generate a diff of this commit: cvs rdiff -u -r1.192 -r1.193 src/sys/kern/subr_pool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/subr_pool.c diff -u src/sys/kern/subr_pool.c:1.192 src/sys/kern/subr_pool.c:1.193 --- src/sys/kern/subr_pool.c:1.192 Sat Jan 28 00:00:06 2012 +++ src/sys/kern/subr_pool.c Sun Jan 29 20:20:18 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_pool.c,v 1.192 2012/01/28 00:00:06 rmind Exp $ */ +/* $NetBSD: subr_pool.c,v 1.193 2012/01/29 20:20:18 he Exp $ */ /*- * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010 @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.192 2012/01/28 00:00:06 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.193 2012/01/29 20:20:18 he Exp $"); #include "opt_ddb.h" #include "opt_pool.h" @@ -2752,7 +2752,9 @@ void *pool_subpage_alloc(struct pool *, void pool_subpage_free(struct pool *, void *); struct pool_allocator pool_allocator_kmem = { - pool_subpage_alloc, pool_subpage_free, POOL_SUBPAGE, + .pa_alloc = pool_subpage_alloc, + .pa_free = pool_subpage_free, + .pa_pagesz = POOL_SUBPAGE }; void *pool_subpage_alloc_nointr(struct pool *, int);