diff options
Diffstat (limited to 'include/asm-mips/sn/sn0/arch.h')
-rw-r--r-- | include/asm-mips/sn/sn0/arch.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/include/asm-mips/sn/sn0/arch.h b/include/asm-mips/sn/sn0/arch.h index fb78773a5efe..f7c43fa24aa8 100644 --- a/include/asm-mips/sn/sn0/arch.h +++ b/include/asm-mips/sn/sn0/arch.h | |||
@@ -13,8 +13,6 @@ | |||
13 | 13 | ||
14 | #include <linux/config.h> | 14 | #include <linux/config.h> |
15 | 15 | ||
16 | #ifndef SABLE | ||
17 | |||
18 | #ifndef SN0XXL /* 128 cpu SMP max */ | 16 | #ifndef SN0XXL /* 128 cpu SMP max */ |
19 | /* | 17 | /* |
20 | * This is the maximum number of nodes that can be part of a kernel. | 18 | * This is the maximum number of nodes that can be part of a kernel. |
@@ -54,25 +52,16 @@ | |||
54 | */ | 52 | */ |
55 | #define MAX_PARTITIONS MAX_REGIONS | 53 | #define MAX_PARTITIONS MAX_REGIONS |
56 | 54 | ||
57 | |||
58 | #else | ||
59 | |||
60 | #define MAX_COMPACT_NODES 4 | ||
61 | #define MAX_NASIDS 4 | ||
62 | #define MAXCPUS 8 | ||
63 | |||
64 | #endif | ||
65 | |||
66 | #define NASID_MASK_BYTES ((MAX_NASIDS + 7) / 8) | 55 | #define NASID_MASK_BYTES ((MAX_NASIDS + 7) / 8) |
67 | 56 | ||
68 | /* | 57 | /* |
69 | * Slot constants for SN0 | 58 | * Slot constants for SN0 |
70 | */ | 59 | */ |
71 | #ifdef CONFIG_SGI_SN0_N_MODE | 60 | #ifdef CONFIG_SGI_SN_N_MODE |
72 | #define MAX_MEM_SLOTS 16 /* max slots per node */ | 61 | #define MAX_MEM_SLOTS 16 /* max slots per node */ |
73 | #else /* !CONFIG_SGI_SN0_N_MODE, assume M_MODE */ | 62 | #else /* !CONFIG_SGI_SN_N_MODE, assume CONFIG_SGI_SN_M_MODE */ |
74 | #define MAX_MEM_SLOTS 32 /* max slots per node */ | 63 | #define MAX_MEM_SLOTS 32 /* max slots per node */ |
75 | #endif /* defined(N_MODE) */ | 64 | #endif /* CONFIG_SGI_SN_M_MODE */ |
76 | 65 | ||
77 | #define SLOT_SHIFT (27) | 66 | #define SLOT_SHIFT (27) |
78 | #define SLOT_MIN_MEM_SIZE (32*1024*1024) | 67 | #define SLOT_MIN_MEM_SIZE (32*1024*1024) |