Commit 5d4e6bd6 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

x86: cpu -- Drop no longer needed early exit from cpu_validate_features

Since now validation is bit based there is no longer need to
exit early if fpu matches, we rather need over all possible
options where several capability modes can be set.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Reviewed-by: 's avatarDmitry Safonov <0x7f454c46@gmaill.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent cdd8643d
......@@ -258,8 +258,7 @@ static int cpu_validate_features(compel_cpuinfo_t *cpu_info)
__mismatch_fpu_bit(X86_FEATURE_OSXSAVE),
__mismatch_fpu_bit(X86_FEATURE_XSAVES));
return -1;
} else
return 0;
}
#undef __mismatch_fpu_bit
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment