1 /* sysfs.c: Toplogy sysfs support code for sparc64.
3 * Copyright (C) 2007 David S. Miller <davem@davemloft.net>
5 #include <linux/sysdev.h>
8 #include <linux/percpu.h>
9 #include <linux/init.h>
11 static DEFINE_PER_CPU(struct cpu, cpu_devices);
13 static int __init topology_init(void)
17 for_each_possible_cpu(cpu) {
18 struct cpu *c = &per_cpu(cpu_devices, cpu);
26 subsys_initcall(topology_init);