mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[IA64] Increase max node count on SN platforms
Add a configuration option to allow the maximum number of nodes to be configurable for GENERIC or SN kernels. Signed-off-by: Jack Steiner <[email protected]> Signed-off-by: Tony Luck <[email protected]>
This commit is contained in:
parent
f90aa8c4fe
commit
b354a83888
2 changed files with 18 additions and 4 deletions
|
|
@ -3,13 +3,18 @@
|
|||
|
||||
#ifdef CONFIG_IA64_DIG
|
||||
/* Max 8 Nodes */
|
||||
#define NODES_SHIFT 3
|
||||
# define NODES_SHIFT 3
|
||||
#elif defined(CONFIG_IA64_HP_ZX1) || defined(CONFIG_IA64_HP_ZX1_SWIOTLB)
|
||||
/* Max 32 Nodes */
|
||||
#define NODES_SHIFT 5
|
||||
# define NODES_SHIFT 5
|
||||
#elif defined(CONFIG_IA64_SGI_SN2) || defined(CONFIG_IA64_GENERIC)
|
||||
/* Max 256 Nodes */
|
||||
#define NODES_SHIFT 8
|
||||
# if CONFIG_IA64_NR_NODES == 256
|
||||
# define NODES_SHIFT 8
|
||||
# elif CONFIG_IA64_NR_NODES <= 512
|
||||
# define NODES_SHIFT 9
|
||||
# elif CONFIG_IA64_NR_NODES <= 1024
|
||||
# define NODES_SHIFT 10
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* _ASM_MAX_NUMNODES_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue