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(a)huawei.com>
---
defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/defs.h b/defs.h
index c02b69f..73f5c01 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