svn commit: r202540 - user/kmacy/releng_8_rump/lib/libunet/unet_sys
Kip Macy
kmacy at FreeBSD.org
Mon Jan 18 01:53:04 UTC 2010
Author: kmacy
Date: Mon Jan 18 01:53:03 2010
New Revision: 202540
URL: http://svn.freebsd.org/changeset/base/202540
Log:
set timeout_cpu to always be 0
Modified:
user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_kern_timeout.c
Modified: user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_kern_timeout.c
==============================================================================
--- user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_kern_timeout.c Mon Jan 18 01:52:38 2010 (r202539)
+++ user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_kern_timeout.c Mon Jan 18 01:53:03 2010 (r202540)
@@ -143,7 +143,11 @@ kern_timeout_callwheel_alloc(caddr_t v)
{
struct callout_cpu *cc;
+#ifdef notyet
timeout_cpu = PCPU_GET(cpuid);
+#else
+ timeout_cpu = 0;
+#endif
cc = CC_CPU(timeout_cpu);
/*
* Calculate callout wheel size
More information about the svn-src-user
mailing list