This source file includes following definitions.
- sparc_cpu_init
- sparc_cpu_idle
1
2
3
4
5
6 #include <asm/mp.h>
7 #include <asm/mbus.h>
8
9 struct sparc_percpu *percpu_table;
10
11 void
12 sparc_cpu_init(void)
13 {
14
15
16
17
18
19
20
21
22 return;
23 }
24
25 extern thiscpus_mid;
26
27 void
28 sparc_cpu_idle(void)
29 {
30 int cpuid;
31
32
33 cpuid = (thiscpus_mid&(~8));
34
35
36
37 percpu_table[cpuid].cpuid = cpuid;
38 percpu_table[cpuid].cpu_is_alive = 0x1;
39 percpu_table[cpuid].cpu_is_idling = 0x1;
40
41
42 while(linux_smp_still_initting) ;
43 printk("cpu%d done spinning\n", get_cpuid());
44 for(;;) ;
45
46 return;
47 }