Unbreak DPCPU_SUM() by dereferencing the pointer returned by DPCPU_ID_PTR().
MFC after: 3 days
This commit is contained in:
parent
49d91a7fbe
commit
96f2f82a69
@ -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