Skip to content
Commit 75e10cc0 authored by James Morse's avatar James Morse
Browse files

x86/topology: Switch over to GENERIC_CPU_DEVICES and GENERIC_MEM_NODE



Now that GENERIC_CPU_DEVICES calls arch_register_cpu(), which can be
overridden by the arch code, switch over to this to allow common code
to choose when the register_cpu() call is made.

x86's struct cpus come from struct x86_cpu, which has no other members
or users. Remove this and use the version defined by common code.

The memory node register work needs to happen before GENERIC_CPU_DEVICES,
enable GENERIC_MEM_NODE too.

This is an intermediate step to the logic being moved to drivers/acpi,
where GENERIC_CPU_DEVICES will do the work when booting with acpi=off.

Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent a47cf9e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment