#include <linux/io.h>
#include <asm/apic.h>
#include <asm/cpu.h>
#include <asm/smp.h>
#include <asm/numa.h>
#include <asm/cacheinfo.h>
#include <asm/spec-ctrl.h>
#include <asm/delay.h>
#include "cpu.h"
#ifdef CONFIG_NUMA
static int nearby_node(int apicid)
{ … }
#endif
static void srat_detect_node(struct cpuinfo_x86 *c)
{ … }
static void bsp_init_hygon(struct cpuinfo_x86 *c)
{ … }
static void early_init_hygon(struct cpuinfo_x86 *c)
{ … }
static void init_hygon(struct cpuinfo_x86 *c)
{ … }
static void cpu_detect_tlb_hygon(struct cpuinfo_x86 *c)
{ … }
static const struct cpu_dev hygon_cpu_dev = …;
cpu_dev_register(hygon_cpu_dev);