x86/traps: Rename early_traps_init() to bsp_early_traps_init()

We're going to want to introduce a percpu version shortly.

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-08-14 21:49:27 +01:00
1 parent 0630cde32f
commit f4ef9e3d03
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
#ifndef ASM_TRAP_H
#define ASM_TRAP_H
void early_traps_init(void);
void bsp_early_traps_init(void);
void traps_init(void);
void percpu_traps_init(void);
+1 -1
View File
@@ -1134,7 +1134,7 @@ void asmlinkage __init noreturn __start_xen(void)
percpu_init_areas();
early_traps_init();
bsp_early_traps_init();
smp_prepare_boot_cpu();
sort_exception_tables();
+1 -1
View File
@@ -62,7 +62,7 @@ static void __init init_ler(void)
* boot_gdt is already loaded, and bsp_idt[] is constructed without IST
* settings, so we don't need a TSS configured yet.
*/
void __init early_traps_init(void)
void __init bsp_early_traps_init(void)
{
const struct desc_ptr idtr = {
.base = (unsigned long)bsp_idt,
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.