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