Blame SOURCES/0001-ppc64-update-the-NR_CPUS-to-8192.patch

d67611
From ae52398a13fa9a238279114ed671c7c514c154ee Mon Sep 17 00:00:00 2001
d67611
From: Sourabh Jain <sourabhjain@linux.ibm.com>
d67611
Date: Mon, 9 May 2022 12:49:56 +0530
d67611
Subject: [PATCH 01/18] ppc64: update the NR_CPUS to 8192
d67611
d67611
Since the kernel commit 2d8ae638bb86 ("powerpc: Make the NR_CPUS max 8192")
d67611
the NR_CPUS on Linux kernel ranges from 1-8192. So let's match NR_CPUS with
d67611
the max NR_CPUS count on the Linux kernel.
d67611
d67611
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
d67611
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
d67611
---
d67611
 defs.h | 2 +-
d67611
 1 file changed, 1 insertion(+), 1 deletion(-)
d67611
d67611
diff --git a/defs.h b/defs.h
d67611
index 1e8360d65a3b..a6735d07b32f 100644
d67611
--- a/defs.h
d67611
+++ b/defs.h
d67611
@@ -136,7 +136,7 @@
d67611
 #define NR_CPUS  (4096)
d67611
 #endif
d67611
 #ifdef PPC64
d67611
-#define NR_CPUS  (2048)
d67611
+#define NR_CPUS  (8192)
d67611
 #endif
d67611
 #ifdef S390
d67611
 #define NR_CPUS  (512)
d67611
-- 
d67611
2.30.2
d67611