ppc64: update the NR_CPUS to 8192
PATCH 1/1 ppc64: update the NR_CPUS to 8192
The NR_CPUS on Linux kernel ranges from 1-8192. So let's match NR_CPUS with max NR_CPUS count on Linux kernel.
Signed-off-by Sourabh Jain <[email protected]>
--- defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
defs.h +1 -1
@@ -136,7 +136,7 @@#define NR_CPUS (4096)#endif #ifdef PPC64 -#define NR_CPUS (2048) +#define NR_CPUS (8192)#endif #ifdef S390 #define NR_CPUS (512)
Signature · 1 line
2.35.1
Quoted 13 lines · Sourabh Jain
The
NR_CPUSon Linux kernel ranges from 1-8192. So let's matchNR_CPUSwith maxNR_CPUScount on Linux kernel.Signed-off-by Sourabh Jain <[email protected]>--- defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)defs.h +0
-0
defs.h line 142
Quoted 8 lines
defs.h +1
-1@@ -136,7 +136,7 @@#define NR_CPUS (4096)#endif #ifdef PPC64 -#define NR_CPUS (2048) +#define NR_CPUS (8192)#endif #ifdef S390 #define NR_CPUS (512)
Please ignore the patch was just meant for crash tool.
Thanks,
Sourabh Jain