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

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