cpufrequtils aperf: Add cpuid support Add cpuid() helpers blatantly stolen from the kernel sources and use that for checking for aperf/mperf support instead of accessing "/dev/cpu/%d/cpuid" which requires the module to be enabled on the target system. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>