svn commit: r210184 - head/sys/sys
Lawrence Stewart
lstewart at FreeBSD.org
Sat Jul 17 03:39:50 UTC 2010
Author: lstewart
Date: Sat Jul 17 03:39:50 2010
New Revision: 210184
URL: http://svn.freebsd.org/changeset/base/210184
Log:
Unbreak DPCPU_SUM() by dereferencing the pointer returned by DPCPU_ID_PTR().
MFC after: 3 days
Modified:
head/sys/sys/pcpu.h
Modified: head/sys/sys/pcpu.h
==============================================================================
--- head/sys/sys/pcpu.h Sat Jul 17 01:40:41 2010 (r210183)
+++ head/sys/sys/pcpu.h Sat Jul 17 03:39:50 2010 (r210184)
@@ -116,7 +116,7 @@ extern uintptr_t dpcpu_off[];
\
sum = 0; \
CPU_FOREACH(_i) { \
- sum += DPCPU_ID_PTR(_i, n); \
+ sum += *DPCPU_ID_PTR(_i, n); \
} \
sum; \
})
More information about the svn-src-head
mailing list