mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
cpupower: Fix precedence issue
Signed-off-by: Thomas Renninger <trenn@suse.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
31ade3b83e
commit
7b0e1bf171
@ -106,7 +106,7 @@ int get_cpu_topology(struct cpupower_topology *cpu_top)
|
||||
cpu_top->pkgs++;
|
||||
}
|
||||
}
|
||||
if (!cpu_top->core_info[0].pkg == -1)
|
||||
if (!(cpu_top->core_info[0].pkg == -1))
|
||||
cpu_top->pkgs++;
|
||||
|
||||
/* Intel's cores count is not consecutively numbered, there may
|
||||
|
Loading…
Reference in New Issue
Block a user