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

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