From a48cebaa9691efe4e2c47bbd56d40ebc8acfa89e Mon Sep 17 00:00:00 2001 From: Sourabh Jain Date: Mon, 9 May 2022 12:49:56 +0530 Subject: [PATCH 01/89] ppc64: update the NR_CPUS to 8192 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 Signed-off-by: Lianbo Jiang --- defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defs.h b/defs.h index 89f57873f1a1..984348062bcb 100644 --- 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) -- 2.37.1