#include <linux/cpu.h>
#include <asm/apic.h>
#include <asm/memtype.h>
#include <asm/processor.h>
#include "cpu.h"
enum topo_types { … };
static const unsigned int topo_domain_map_0b_1f[MAX_TYPE_1F] = …;
static const unsigned int topo_domain_map_80000026[MAX_TYPE_80000026] = …;
static inline bool topo_subleaf(struct topo_scan *tscan, u32 leaf, u32 subleaf,
unsigned int *last_dom)
{ … }
static bool parse_topology_leaf(struct topo_scan *tscan, u32 leaf)
{ … }
bool cpu_parse_topology_ext(struct topo_scan *tscan)
{ … }