Since the kernel commit 9559d5806319 ("LoongArch: Increase max
supported CPUs up to 2048")the NR_CPUS on Linux kernel ranges
from 2-2048. So let's match NR_CPUS with the max NR_CPUS count
on the Linux kernel.

Signed-off-by: Chenghao Duan <[email protected]>
---
 defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defs.h b/defs.h
index 156ac02..c407ac4 100644
--- a/defs.h
+++ b/defs.h
@@ -169,7 +169,7 @@
 #define NR_CPUS  (256)
 #endif
 #ifdef LOONGARCH64
-#define NR_CPUS  (256)
+#define NR_CPUS  (2048)
 #endif
 
 #define NR_DEVICE_DUMPS (64)
-- 
2.25.1
--
Crash-utility mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki

Reply via email to