1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc.
5 * ToDo: Needs to be done more properly for AMD/Intel specifics
8 /* Helper struct for qsort, must be in sync with cpupower_topology.cpu_info */
9 /* Be careful: Need to pass unsigned to the sort, so that offlined cores are
10 in the end, but double check for -1 for offlined cpus at other places */
20 /* CPU topology/hierarchy parsing ******************/