mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
14 lines
254 B
C
14 lines
254 B
C
![]() |
// 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);
|