mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-12-05 02:38:04 +01:00
fix: hide arch_capabilities_msr_not_read warning under !intel
This commit is contained in:
parent
5f59257826
commit
360be7b35f
@ -1208,7 +1208,7 @@ is_skylake_cpu()
|
||||
|
||||
is_vulnerable_to_empty_rsb()
|
||||
{
|
||||
if [ -z "$capabilities_rsba" ]; then
|
||||
if is_intel && [ -z "$capabilities_rsba" ]; then
|
||||
_warn "is_vulnerable_to_empty_rsb() called before ARCH CAPABILITIES MSR was read"
|
||||
fi
|
||||
if is_skylake_cpu || [ "$capabilities_rsba" = 1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user