aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/arm/pmu_acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/arm/pmu_acpi.c')
-rw-r--r--sys/arm/arm/pmu_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/pmu_acpi.c b/sys/arm/arm/pmu_acpi.c
index 2e031338f144..8812ac7b3af4 100644
--- a/sys/arm/arm/pmu_acpi.c
+++ b/sys/arm/arm/pmu_acpi.c
@@ -72,7 +72,7 @@ madt_handler(ACPI_SUBTABLE_HEADER *entry, void *arg)
for (i = 0; i < MAXCPU; i++) {
pcpu = pcpu_find(i);
- if (pcpu != NULL && pcpu->pc_mpidr == intr->ArmMpidr) {
+ if (pcpu != NULL && PCPU_GET_MPIDR(pcpu) == intr->ArmMpidr) {
cpuid = i;
break;
}