On Mon, May 9, 2022 at 3:20 PM Sourabh Jain <sourabhjain@xxxxxxxxxxxxx> wrote:
Since the kernel commit <2d8ae638bb86> ("powerpc: Make the NR_CPUS max 8192")
the NR_CPUS on Linux kernel ranges from 1-8192. So let's match NR_CPUS with
the max NR_CPUS count on the Linux kernel.
Signed-off-by: Sourabh Jain <sourabhjain@xxxxxxxxxxxxx>
---
defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
Changelog:
v1 -> v2
- added related kernel commit id in the patch description.
---
Thank you for the update, Sourabh. For the v2:
Acked-by: Lianbo Jiang <lijiang@xxxxxxxxxx>
diff --git a/defs.h b/defs.h
index 1e8360d..a6735d0 100644
--- a/defs.h
+++ b/defs.h
@@ -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)
--
2.35.1
-- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/crash-utility Contribution Guidelines: https://github.com/crash-utility/crash/wiki