Commit bb178f77 authored by Len Brown's avatar Len Brown Committed by Tim Gardner
Browse files

tools/power turbostat: call __cpuid() instead of __get_cpuid()

BugLink: http://bugs.launchpad.net/bugs/1591802



turbostat already checks whether calling each cpuid leavf is legal,
and it doesn't look at the function return value,
so call the simpler gcc intrinsic __cpuid() instead of __get_cpuid().

syntax only, no functional change

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
(cherry picked from commit 5aea2f7f)
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Acked-by: default avatarBrad Figg <brad.figg@canonical.com>
Acked-by: default avatarKamal Mostafa <kamal@canonical.com>
parent de184471
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment