| .. | .. |
|---|
| 12 | 12 | #define _ASM_SN_SN0_ARCH_H |
|---|
| 13 | 13 | |
|---|
| 14 | 14 | |
|---|
| 15 | | -#ifndef SN0XXL /* 128 cpu SMP max */ |
|---|
| 16 | | -/* |
|---|
| 17 | | - * This is the maximum number of nodes that can be part of a kernel. |
|---|
| 18 | | - * Effectively, it's the maximum number of compact node ids (cnodeid_t). |
|---|
| 19 | | - */ |
|---|
| 20 | | -#define MAX_COMPACT_NODES 64 |
|---|
| 21 | | - |
|---|
| 22 | 15 | /* |
|---|
| 23 | 16 | * MAXCPUS refers to the maximum number of CPUs in a single kernel. |
|---|
| 24 | 17 | * This is not necessarily the same as MAXNODES * CPUS_PER_NODE |
|---|
| 25 | 18 | */ |
|---|
| 26 | | -#define MAXCPUS 128 |
|---|
| 27 | | - |
|---|
| 28 | | -#else /* SN0XXL system */ |
|---|
| 29 | | - |
|---|
| 30 | | -#define MAX_COMPACT_NODES 128 |
|---|
| 31 | | -#define MAXCPUS 256 |
|---|
| 32 | | - |
|---|
| 33 | | -#endif /* SN0XXL */ |
|---|
| 19 | +#define MAXCPUS (MAX_NUMNODES * CPUS_PER_NODE) |
|---|
| 34 | 20 | |
|---|
| 35 | 21 | /* |
|---|
| 36 | 22 | * This is the maximum number of NASIDS that can be present in a system. |
|---|
| .. | .. |
|---|
| 66 | 52 | #define SLOT_MIN_MEM_SIZE (32*1024*1024) |
|---|
| 67 | 53 | |
|---|
| 68 | 54 | #define CPUS_PER_NODE 2 /* CPUs on a single hub */ |
|---|
| 69 | | -#define CPUS_PER_NODE_SHFT 1 /* Bits to shift in the node number */ |
|---|
| 70 | | -#define CPUS_PER_SUBNODE 2 /* CPUs on a single hub PI */ |
|---|
| 71 | 55 | |
|---|
| 72 | 56 | #endif /* _ASM_SN_SN0_ARCH_H */ |
|---|