diff options
Diffstat (limited to 'include/asm-mips/sn/addrs.h')
-rw-r--r-- | include/asm-mips/sn/addrs.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/asm-mips/sn/addrs.h b/include/asm-mips/sn/addrs.h index 3f6891b0c0ea..8fa0af6b68d2 100644 --- a/include/asm-mips/sn/addrs.h +++ b/include/asm-mips/sn/addrs.h | |||
@@ -26,13 +26,8 @@ | |||
26 | 26 | ||
27 | #ifndef __ASSEMBLY__ | 27 | #ifndef __ASSEMBLY__ |
28 | 28 | ||
29 | #if defined(CONFIG_SGI_IO) /* FIXME */ | ||
30 | #define PS_UINT_CAST (__psunsigned_t) | ||
31 | #define UINT64_CAST (__uint64_t) | ||
32 | #else /* CONFIG_SGI_IO */ | ||
33 | #define PS_UINT_CAST (unsigned long) | 29 | #define PS_UINT_CAST (unsigned long) |
34 | #define UINT64_CAST (unsigned long) | 30 | #define UINT64_CAST (unsigned long) |
35 | #endif /* CONFIG_SGI_IO */ | ||
36 | 31 | ||
37 | #define HUBREG_CAST (volatile hubreg_t *) | 32 | #define HUBREG_CAST (volatile hubreg_t *) |
38 | 33 | ||
@@ -252,14 +247,6 @@ | |||
252 | * for _x. | 247 | * for _x. |
253 | */ | 248 | */ |
254 | 249 | ||
255 | #ifdef _STANDALONE | ||
256 | |||
257 | /* DO NOT USE THESE DIRECTLY IN THE KERNEL. SEE BELOW. */ | ||
258 | #define LOCAL_HUB(_x) (HUBREG_CAST (IALIAS_BASE + (_x))) | ||
259 | #define REMOTE_HUB(_n, _x) (HUBREG_CAST (NODE_SWIN_BASE(_n, 1) + \ | ||
260 | 0x800000 + (_x))) | ||
261 | #endif /* _STANDALONE */ | ||
262 | |||
263 | /* | 250 | /* |
264 | * WARNING: | 251 | * WARNING: |
265 | * When certain Hub chip workaround are defined, it's not sufficient | 252 | * When certain Hub chip workaround are defined, it's not sufficient |
@@ -326,20 +313,6 @@ | |||
326 | PHYS_TO_K0(NODE_OFFSET(nasid) | ARCS_SPB_OFFSET) | 313 | PHYS_TO_K0(NODE_OFFSET(nasid) | ARCS_SPB_OFFSET) |
327 | #define ARCS_SPB_SIZE 0x0400 | 314 | #define ARCS_SPB_SIZE 0x0400 |
328 | 315 | ||
329 | #ifdef _STANDALONE | ||
330 | |||
331 | #define ARCS_TVECTOR_OFFSET 0x2800 | ||
332 | #define ARCS_PVECTOR_OFFSET 0x2c00 | ||
333 | |||
334 | /* | ||
335 | * These addresses are used by the master CPU to install the transfer | ||
336 | * and private vectors. All others use the SPB to find them. | ||
337 | */ | ||
338 | #define TVADDR (NODE_CAC_BASE(get_nasid()) + ARCS_TVECTOR_OFFSET) | ||
339 | #define PVADDR (NODE_CAC_BASE(get_nasid()) + ARCS_PVECTOR_OFFSET) | ||
340 | |||
341 | #endif /* _STANDALONE */ | ||
342 | |||
343 | #define KLDIR_OFFSET 0x2000 | 316 | #define KLDIR_OFFSET 0x2000 |
344 | #define KLDIR_ADDR(nasid) \ | 317 | #define KLDIR_ADDR(nasid) \ |
345 | TO_NODE_UNCAC((nasid), KLDIR_OFFSET) | 318 | TO_NODE_UNCAC((nasid), KLDIR_OFFSET) |