|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/traps: Rename early_traps_init() to bsp_early_traps_init()
commit f4ef9e3d032c96bc6e5232fc2bfdb4b3a2e25662
Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Fri May 23 13:40:01 2025 +0100
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Thu Aug 14 21:49:27 2025 +0100
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@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
xen/arch/x86/include/asm/traps.h | 2 +-
xen/arch/x86/setup.c | 2 +-
xen/arch/x86/traps-setup.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/xen/arch/x86/include/asm/traps.h b/xen/arch/x86/include/asm/traps.h
index 72c33a33e2..7414420e57 100644
--- a/xen/arch/x86/include/asm/traps.h
+++ b/xen/arch/x86/include/asm/traps.h
@@ -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);
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index 1543dd251c..64f02699e1 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -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();
diff --git a/xen/arch/x86/traps-setup.c b/xen/arch/x86/traps-setup.c
index a8385b26ae..7713f427d3 100644
--- a/xen/arch/x86/traps-setup.c
+++ b/xen/arch/x86/traps-setup.c
@@ -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,
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |