diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h index 42f9ca0122d5..917f32964a54 100644 --- a/sys/sys/pcpu.h +++ b/sys/sys/pcpu.h @@ -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; \ })