Date: Mon, 17 Jul 2006 07:00:04 +0200 From: Wolfram Fenske <Wolfram.Fenske@Student.Uni-Magdeburg.DE> To: freebsd-current@freebsd.org Subject: Build error in sys/vm/uma_core.c, patch attached Message-ID: <86r70kltbf.fsf@student.uni-magdeburg.de>
index | next in thread | raw e-mail
[-- Attachment #1 --]
When I just tried to build -current, I got a warning in
sys/vm/uma_core.c about `uma_zone_sumstat' being defined but not used
and the build stopped. This attached patch fixed the problem.
[-- Attachment #2 --]
*** sys/vm/uma_core.c.orig Mon Jul 17 00:53:26 2006
--- sys/vm/uma_core.c Mon Jul 17 06:50:48 2006
***************
*** 2779,2784 ****
--- 2779,2785 ----
* safe from off-CPU; we should modify the caches to track this information
* directly so that we don't have to.
*/
+ #ifdef DDB
static void
uma_zone_sumstat(uma_zone_t z, int *cachefreep, u_int64_t *allocsp,
u_int64_t *freesp)
***************
*** 2809,2814 ****
--- 2810,2816 ----
if (freesp != NULL)
*freesp = frees;
}
+ #endif /* DDB */
static int
sysctl_vm_zone_count(SYSCTL_HANDLER_ARGS)
[-- Attachment #3 --]
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r70kltbf.fsf>
