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 struct sparc_percpu {
14 struct tt_entry *trap_table;
15 char *kernel_stack[PAGE_SIZE<<1];
16 int cpuid;
17 int cpu_is_alive;
18 int cpu_is_idling;
19
20 char filler[PERCPU_ENTSIZE-(PAGE_SIZE*2)-0xc];
21 };
22
23 extern struct sparc_percpu *percpu_table;
24
25 struct prom_cpuinfo {
26 int prom_node;
27 int mid;
28 };
29
30 extern struct prom_cpuinfo linux_cpus[NCPUS];
31
32 #endif