x86/cpu/topology: Move registration out of APIC code
The APIC/CPU registration sits in the middle of the APIC code. In fact this is a topology evaluation function and has nothing to do with the inner workings of the local APIC. Move it out into a file which reflects what this is about. Signed-off-by:Thomas Gleixner <tglx@linutronix.de> Tested-by:
Michael Kelley <mhklinux@outlook.com> Tested-by:
Sohil Mehta <sohil.mehta@intel.com> Link: https://lore.kernel.org/r/20240213210251.543948812@linutronix.de
Showing
- arch/x86/include/asm/apic.h 2 additions, 0 deletionsarch/x86/include/asm/apic.h
- arch/x86/kernel/apic/apic.c 2 additions, 183 deletionsarch/x86/kernel/apic/apic.c
- arch/x86/kernel/cpu/Makefile 7 additions, 5 deletionsarch/x86/kernel/cpu/Makefile
- arch/x86/kernel/cpu/topology.c 184 additions, 0 deletionsarch/x86/kernel/cpu/topology.c
Loading
Please register or sign in to comment