Unbreak DPCPU_SUM() by dereferencing the pointer returned by DPCPU_ID_PTR().
MFC after: 3 days
This commit is contained in:
parent
9cf8afc5f1
commit
9f0f9c58e8
@ -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; \
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user