File crash-ppc64-nr_cpus.diff of Package crash

[PATCH] Increase NR_CPUS to 1024 on POWER

Since we have compiled the POWER kernel with 1024 CPUs, we also need to
implement that in crash.


Signed-off-by: Bernhard Walle <bwalle@suse.de>

diff -r 101a39dcf65b defs.h
--- a/defs.h	Thu Nov 06 11:39:59 2008 +0100
+++ b/defs.h	Thu Nov 06 18:27:10 2008 +0100
@@ -76,7 +76,7 @@
 #define NR_CPUS  (4096)
 #endif
 #ifdef PPC64
-#define NR_CPUS  (128)
+#define NR_CPUS  (1024)
 #endif
 #ifdef S390
 #define NR_CPUS  (64)
openSUSE Build Service is sponsored by