
24 Jul
2025
24 Jul
'25
10:56 a.m.
From: Simon Glass <sjg@chromium.org> This function is not present on x86, but there is an x86-specific version which is never called. Add the former, making it call the latter. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/x86/cpu/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index c373b14df30..f756a9ebf09 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -80,6 +80,11 @@ int __weak x86_cleanup_before_linux(void) return 0; } +int cleanup_before_linux(void) +{ + return x86_cleanup_before_linux(); +} + int x86_init_cache(void) { enable_caches(); -- 2.43.0