[Crash-utility] [PATCH 3/3] crash: ARM : change NR_CPUS to 32

Liu Hua sdu.liu at huawei.com
Fri Apr 25 06:16:07 UTC 2014


The ARM linux can config NR_CPUS upto 32. 4 is rather small for
today's arm platform. This patch changes NR_CPUS to 32, to fit
the config of ARM linux.

Signed-off-by: Liu Hua <sdu.liu at huawei.com>
---
 defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defs.h b/defs.h
index 03b11a8..445c94a 100644
--- a/defs.h
+++ b/defs.h
@@ -131,7 +131,7 @@
 #define NR_CPUS  (512)
 #endif
 #ifdef ARM
-#define NR_CPUS  (4)
+#define NR_CPUS  (32)
 #endif
 #ifdef ARM64
 #define NR_CPUS  (4096)   /* TBD */
-- 
1.9.0




More information about the Crash-utility mailing list