Home
last modified time | relevance | path

Searched refs:cpu_devices (Results 1 – 13 of 13) sorted by relevance

/arch/x86/kernel/
Dtopology.c36 static DEFINE_PER_CPU(struct x86_cpu, cpu_devices);
140 per_cpu(cpu_devices, num).cpu.hotpluggable = 1; in arch_register_cpu()
142 return register_cpu(&per_cpu(cpu_devices, num).cpu, num); in arch_register_cpu()
148 unregister_cpu(&per_cpu(cpu_devices, num).cpu); in arch_unregister_cpu()
155 return register_cpu(&per_cpu(cpu_devices, num).cpu, num); in arch_register_cpu()
/arch/parisc/kernel/
Dtopology.c25 static DEFINE_PER_CPU(struct cpu, cpu_devices);
32 register_cpu(&per_cpu(cpu_devices, num), num); in topology_init()
/arch/mips/kernel/
Dtopology.c9 static DEFINE_PER_CPU(struct cpu, cpu_devices);
21 struct cpu *c = &per_cpu(cpu_devices, i); in topology_init()
/arch/sh/kernel/
Dtopology.c19 static DEFINE_PER_CPU(struct cpu, cpu_devices);
58 struct cpu *c = &per_cpu(cpu_devices, i); in topology_init()
/arch/ia64/include/asm/
Dcpu.h14 DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
/arch/cris/kernel/
Dsetup.c43 static struct cpu cpu_devices[NR_CPUS]; variable
208 return register_cpu(&cpu_devices[i], i); in topology_init()
/arch/sparc/kernel/
Dsysfs.c206 static DEFINE_PER_CPU(struct cpu, cpu_devices);
210 struct cpu *c = &per_cpu(cpu_devices, cpu); in register_cpu_online()
224 struct cpu *c = &per_cpu(cpu_devices, cpu); in unregister_cpu_online()
266 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init()
/arch/mn10300/kernel/
Dsetup.c184 static struct cpu cpu_devices[NR_CPUS]; variable
191 register_cpu(&cpu_devices[i], i); in topology_init()
Dsmp.c973 static DEFINE_PER_CPU(struct cpu, cpu_devices);
980 ret = register_cpu(&per_cpu(cpu_devices, cpu), cpu, NULL); in topology_init()
/arch/m32r/kernel/
Dsetup.c275 static struct cpu cpu_devices[NR_CPUS]; variable
282 register_cpu(&cpu_devices[i], i); in topology_init()
/arch/c6x/kernel/
Dsetup.c496 static struct cpu cpu_devices[NR_CPUS]; variable
503 register_cpu(&cpu_devices[i], i); in topology_init()
/arch/powerpc/kernel/
Dsysfs.c29 static DEFINE_PER_CPU(struct cpu, cpu_devices);
708 struct cpu *c = &per_cpu(cpu_devices, cpu); in register_cpu_online()
795 struct cpu *c = &per_cpu(cpu_devices, cpu); in unregister_cpu_online()
1016 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init()
/arch/tile/kernel/
Dsetup.c984 static struct cpu cpu_devices[NR_CPUS]; variable
994 register_cpu(&cpu_devices[i], i); in topology_init()