[Crash-utility] [PATCH] s390(x): Increase NR_CPUS to 512

Michael Holzheu holzheu at linux.vnet.ibm.com
Mon Dec 9 15:27:40 UTC 2013


Hello Dave,

For s390(x) in the near future kernels can have more than 64 CPUs. So
change the defines in "defs.h" accordingly.

Signed-off-by: Michael Holzheu <holzheu at linux.vnet.ibm.com>
---
 defs.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/defs.h
+++ b/defs.h
@@ -125,10 +125,10 @@
 #define NR_CPUS  (2048)
 #endif
 #ifdef S390
-#define NR_CPUS  (64)
+#define NR_CPUS  (512)
 #endif
 #ifdef S390X
-#define NR_CPUS  (64)
+#define NR_CPUS  (512)
 #endif
 #ifdef ARM
 #define NR_CPUS  (4)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash-7.0.3-s390x-NR_CPU-512.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20131209/49f70f61/attachment.bin>


More information about the Crash-utility mailing list