.. | .. |
---|
4 | 4 | |
---|
5 | 5 | #include <asm/sn/addrs.h> |
---|
6 | 6 | #include <asm/sn/arch.h> |
---|
7 | | -#include <asm/sn/hub.h> |
---|
| 7 | +#include <asm/sn/agent.h> |
---|
| 8 | +#include <asm/sn/klkernvars.h> |
---|
8 | 9 | |
---|
9 | | -#define pa_to_nid(addr) NASID_TO_COMPACT_NODEID(NASID_GET(addr)) |
---|
10 | | - |
---|
11 | | -#define LEVELS_PER_SLICE 128 |
---|
12 | | - |
---|
13 | | -struct slice_data { |
---|
14 | | - unsigned long irq_enable_mask[2]; |
---|
15 | | - int level_to_irq[LEVELS_PER_SLICE]; |
---|
16 | | -}; |
---|
| 10 | +#define pa_to_nid(addr) NASID_GET(addr) |
---|
17 | 11 | |
---|
18 | 12 | struct hub_data { |
---|
19 | 13 | kern_vars_t kern_vars; |
---|
20 | 14 | DECLARE_BITMAP(h_bigwin_used, HUB_NUM_BIG_WINDOW); |
---|
21 | 15 | cpumask_t h_cpus; |
---|
22 | | - unsigned long slice_map; |
---|
23 | | - unsigned long irq_alloc_mask[2]; |
---|
24 | | - struct slice_data slice[2]; |
---|
25 | 16 | }; |
---|
26 | 17 | |
---|
27 | 18 | struct node_data { |
---|