mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
x86/microcode: Fix comment in microcode_loader_disabled()
The code in microcode_loader_disabled() actually checks for the bit 31 in CPUID[1]:ECX being set. Update the comment to match the code. No functional change intended. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20260512152754.671760-1-xiaoyao.li@intel.com
This commit is contained in:
parent
00e05495c5
commit
1458ade746
|
|
@ -126,7 +126,7 @@ bool __init microcode_loader_disabled(void)
|
|||
}
|
||||
|
||||
/*
|
||||
* 2) Bit 31 in CPUID[1]:ECX is clear
|
||||
* 2) Bit 31 in CPUID[1]:ECX is set
|
||||
* The bit is reserved for hypervisor use. This is still not
|
||||
* completely accurate as XEN PV guests don't see that CPUID bit
|
||||
* set, but that's good enough as they don't land on the BSP
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user