1
2
3
4
5
6 #ifndef _SPARC_MP_H
7 #define _SPARC_MP_H
8
9 #include <asm/traps.h>
10 #include <asm/page.h>
11 #include <asm/vaddrs.h>
12
13 extern int linux_smp_still_initting;
14
15 struct sparc_percpu {
16 struct tt_entry trap_table[NUM_SPARC_TRAPS];
17 unsigned int kernel_stack[PAGE_SIZE/4];
18 int cpuid;
19 int cpu_is_alive;
20 int cpu_is_idling;
21
22 char filler[PERCPU_ENTSIZE-(PAGE_SIZE*2)-0xc];
23 };
24
25 extern struct sparc_percpu *percpu_table;
26
27 struct prom_cpuinfo {
28 int prom_node;
29 int mid;
30 };
31
32 extern struct prom_cpuinfo linux_cpus[NCPUS];
33
34 #endif