Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 731445b1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: DT/kernel: define ARM specific arch_match_cpu_phys_id"

parents bf291150 e34a5ced
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -168,6 +168,11 @@ void __init arm_dt_init_cpu_maps(void)
	}
}

bool arch_match_cpu_phys_id(int cpu, u64 phys_id)
{
	return (phys_id & MPIDR_HWID_BITMASK) == cpu_logical_map(cpu);
}

/**
 * setup_machine_fdt - Machine setup when an dtb was passed to the kernel
 * @dt_phys: physical address of dt blob