mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 02:16:42 +07:00
16 lines
384 B
C
16 lines
384 B
C
|
#ifndef _ASM_MAX_NUMNODES_H
|
||
|
#define _ASM_MAX_NUMNODES_H
|
||
|
|
||
|
#ifdef CONFIG_IA64_DIG
|
||
|
/* Max 8 Nodes */
|
||
|
#define NODES_SHIFT 3
|
||
|
#elif defined(CONFIG_IA64_HP_ZX1) || defined(CONFIG_IA64_HP_ZX1_SWIOTLB)
|
||
|
/* Max 32 Nodes */
|
||
|
#define NODES_SHIFT 5
|
||
|
#elif defined(CONFIG_IA64_SGI_SN2) || defined(CONFIG_IA64_GENERIC)
|
||
|
/* Max 256 Nodes */
|
||
|
#define NODES_SHIFT 8
|
||
|
#endif
|
||
|
|
||
|
#endif /* _ASM_MAX_NUMNODES_H */
|