linux/arch/x86/kernel/cpu/hygon.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Hygon Processor Support for Linux
 *
 * Copyright (C) 2018 Chengdu Haiguang IC Design Co., Ltd.
 *
 * Author: Pu Wen <[email protected]>
 */
#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
/*
 * To workaround broken NUMA config.  Read the comment in
 * srat_detect_node().
 */
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);