On Wed, 7 Jan 2026 at 00:40, Simon Glass <[email protected]> wrote: > > From: Simon Glass <[email protected]> > > 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.
If the later is never called up until now why is it actually needed, if it's not been missed until now why not just drop it? Please describe why in the commit. > Signed-off-by: Simon Glass <[email protected]> > Signed-off-by: Simon Glass <[email protected]> > --- > > 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 >

