diff options
| author | Linus Torvalds <[email protected]> | 2025-05-11 18:08:55 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2025-05-11 18:08:55 +0000 |
| commit | b9e62a2b8ffd2bc39b5838e163c41d8a08dae19a (patch) | |
| tree | 2123eacf3ead30ad69d3d787f320b9d6b086f852 /arch/x86/include/asm/microcode.h | |
| parent | Merge tag 'timers-urgent-2025-05-11' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| parent | x86/microcode: Consolidate the loader enablement checking (diff) | |
| download | kernel-b9e62a2b8ffd2bc39b5838e163c41d8a08dae19a.tar.gz kernel-b9e62a2b8ffd2bc39b5838e163c41d8a08dae19a.zip | |
Merge tag 'x86-urgent-2025-05-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Ingo Molnar:
"Fix a boot regression on very old x86 CPUs without CPUID support"
* tag 'x86-urgent-2025-05-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/microcode: Consolidate the loader enablement checking
Diffstat (limited to 'arch/x86/include/asm/microcode.h')
| -rw-r--r-- | arch/x86/include/asm/microcode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/microcode.h b/arch/x86/include/asm/microcode.h index 695e569159c1..be7cddc414e4 100644 --- a/arch/x86/include/asm/microcode.h +++ b/arch/x86/include/asm/microcode.h @@ -17,10 +17,12 @@ struct ucode_cpu_info { void load_ucode_bsp(void); void load_ucode_ap(void); void microcode_bsp_resume(void); +bool __init microcode_loader_disabled(void); #else static inline void load_ucode_bsp(void) { } static inline void load_ucode_ap(void) { } static inline void microcode_bsp_resume(void) { } +static inline bool __init microcode_loader_disabled(void) { return false; } #endif extern unsigned long initrd_start_early; |
