x86/traps: Move cpu_init() out of trap_init()

cpu_init() doesn't particularly belong in trap_init().  This brings the BSP
more in line with the APs.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2025-03-21 11:52:39 +00:00
1 parent ce703c84df
commit c81a9835e4
2 files changed
+2 -2

No files matched your search

+2
View File
@@ -2024,6 +2024,8 @@ void asmlinkage __init noreturn __start_xen(void)
trap_init();
cpu_init();
rcu_init();
early_time_init();
-2
View File
@@ -1938,8 +1938,6 @@ void __init trap_init(void)
l1e_from_pfn(virt_to_mfn(boot_compat_gdt), __PAGE_HYPERVISOR_RW);
percpu_traps_init();
cpu_init();
}
void asm_domain_crash_synchronous(unsigned long addr)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.