summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/prom.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-02-13 22:05:06 +0100
committerThomas Gleixner <tglx@linutronix.de>2024-02-15 22:07:40 +0100
commit5faf8ec77111a699b6a566c4155511fc020f8644 (patch)
tree5186f480c4e7760d2127f8f8eff32f06f4e9432e /arch/x86/include/asm/prom.h
parentx86/mpparse: Prepare for callback separation (diff)
downloadlinux-5faf8ec77111a699b6a566c4155511fc020f8644.tar.xz
linux-5faf8ec77111a699b6a566c4155511fc020f8644.zip
x86/dtb: Rename x86_dtb_init()
x86_dtb_init() is a misnomer and it really should be used as a SMP configuration parser which is selected by the platform via x86_init::mpparse:parse_smp_config(). Rename it to x86_dtb_parse_smp_config() in preparation for that. 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/20240212154639.495992801@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/prom.h')
-rw-r--r--arch/x86/include/asm/prom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/prom.h b/arch/x86/include/asm/prom.h
index 65dee2420624..043758a2e627 100644
--- a/arch/x86/include/asm/prom.h
+++ b/arch/x86/include/asm/prom.h
@@ -23,11 +23,11 @@ extern int of_ioapic;
extern u64 initial_dtb;
extern void add_dtb(u64 data);
void x86_of_pci_init(void);
-void x86_dtb_init(void);
+void x86_dtb_parse_smp_config(void);
#else
static inline void add_dtb(u64 data) { }
static inline void x86_of_pci_init(void) { }
-static inline void x86_dtb_init(void) { }
+static inline void x86_dtb_parse_smp_config(void) { }
#define of_ioapic 0
#endif