Commit 52c72abc authored by David S. Miller's avatar David S. Miller

[SPARC64]: Kill prom_cpu_nodes, unused.

parent 2905d379
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
spinlock_t ns87303_lock = SPIN_LOCK_UNLOCKED; spinlock_t ns87303_lock = SPIN_LOCK_UNLOCKED;
struct prom_cpuinfo linux_cpus[NR_CPUS] __initdata = { { 0 } }; struct prom_cpuinfo linux_cpus[NR_CPUS] __initdata = { { 0 } };
unsigned prom_cpu_nodes[NR_CPUS];
int linux_num_cpus = 0; int linux_num_cpus = 0;
extern void cpu_probe(void); extern void cpu_probe(void);
...@@ -84,8 +83,6 @@ void __init device_scan(void) ...@@ -84,8 +83,6 @@ void __init device_scan(void)
linux_num_cpus = cpu_ctr; linux_num_cpus = cpu_ctr;
prom_cpu_nodes[0] = prom_node_cpu;
#ifndef CONFIG_SMP #ifndef CONFIG_SMP
{ {
up_clock_tick = prom_getintdefault(prom_node_cpu, up_clock_tick = prom_getintdefault(prom_node_cpu,
......
...@@ -337,7 +337,6 @@ static int __devinit smp_boot_one_cpu(unsigned int cpu) ...@@ -337,7 +337,6 @@ static int __devinit smp_boot_one_cpu(unsigned int cpu)
udelay(100); udelay(100);
} }
if (callin_flag) { if (callin_flag) {
prom_cpu_nodes[cpu] = linux_cpus[no].prom_node;
ret = 0; ret = 0;
} else { } else {
printk("Processor %d is stuck.\n", cpu); printk("Processor %d is stuck.\n", cpu);
...@@ -1138,7 +1137,6 @@ void __init smp_tick_init(void) ...@@ -1138,7 +1137,6 @@ void __init smp_tick_init(void)
} }
cpu_set(boot_cpu_id, cpu_online_map); cpu_set(boot_cpu_id, cpu_online_map);
prom_cpu_nodes[boot_cpu_id] = linux_cpus[0].prom_node;
prof_counter(boot_cpu_id) = prof_multiplier(boot_cpu_id) = 1; prof_counter(boot_cpu_id) = prof_multiplier(boot_cpu_id) = 1;
} }
......
...@@ -28,7 +28,6 @@ struct prom_cpuinfo { ...@@ -28,7 +28,6 @@ struct prom_cpuinfo {
extern int linux_num_cpus; /* number of CPUs probed */ extern int linux_num_cpus; /* number of CPUs probed */
extern struct prom_cpuinfo linux_cpus[NR_CPUS]; extern struct prom_cpuinfo linux_cpus[NR_CPUS];
extern unsigned int prom_cpu_nodes[NR_CPUS];
#endif /* !(__ASSEMBLY__) */ #endif /* !(__ASSEMBLY__) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment