Unbreak DPCPU_SUM() by dereferencing the pointer returned by DPCPU_ID_PTR().

MFC after:	3 days
This commit is contained in:
lstewart 2010-07-17 03:39:50 +00:00
parent 9cf8afc5f1
commit 9f0f9c58e8

View File

@ -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; \
})