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