Re: [Patch V1 3/7] x86/microcode/core: Move microcode_check() to cpu/microcode/core.c

From: Thomas Gleixner
Date: Fri Dec 02 2022 - 14:03:09 EST


On Tue, Nov 29 2022 at 13:08, Ashok Raj wrote:

> microcode_check() is only called from microcode/core.c. Move it and make
> it static to prepare for upcoming fix of false negative when checking CPU
> features after a microcode update. Also move get_cpu_cap() to processor.h
> for general use outside of kernel/cpu.h
>
> No functional change.
>
> Suggested-by: Alison Schofield <alison.schofield@xxxxxxxxx>
> Signed-off-by: Ashok Raj <ashok.raj@xxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>