Commit ebada5b2 authored by Pavel Emelyanov's avatar Pavel Emelyanov

cpuinfo: Don't report negative values to shell

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4cfd9197
......@@ -364,7 +364,7 @@ int cpuinfo_dump(void)
int cpuinfo_check(void)
{
if (cpu_init())
return -1;
return 1;
/*
* Force to check all caps because its been
......@@ -373,6 +373,7 @@ int cpuinfo_check(void)
opts.cpu_cap = CPU_CAP_ALL;
if (cpu_validate_cpuinfo())
return -1;
return 1;
return 0;
}
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