Welcome to mirror list, hosted at ThFree Co, Russian Federation.

topology.c « kernel « loongarch « arch - github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3b2cbb95875bace29348179c3b3b2351f56426a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: GPL-2.0
#include <linux/cpu.h>
#include <linux/init.h>
#include <linux/percpu.h>

static struct cpu cpu_device;

static int __init topology_init(void)
{
	return register_cpu(&cpu_device, 0);
}

subsys_initcall(topology_init);