diff mbox series

ppc64: update the NR_CPUS to 8192

Message ID 20220505101842.49149-1-sourabhjain@linux.ibm.com (mailing list archive)
State Not Applicable
Headers show
Series ppc64: update the NR_CPUS to 8192 | expand

Commit Message

Sourabh Jain May 5, 2022, 10:18 a.m. UTC
The NR_CPUS on Linux kernel ranges from 1-8192. So let's match
NR_CPUS with max NR_CPUS count on Linux kernel.

Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
---
 defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sourabh Jain May 5, 2022, 10:23 a.m. UTC | #1
On 05/05/22 15:48, Sourabh Jain wrote:
> The NR_CPUS on Linux kernel ranges from 1-8192. So let's match
> NR_CPUS with max NR_CPUS count on Linux kernel.
>
> Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
> ---
>   defs.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/defs.h b/defs.h
> index 1e8360d..a6735d0 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)

Please ignore the patch was just meant for crash tool.

Thanks,
Sourabh Jain
diff mbox series

Patch

diff --git a/defs.h b/defs.h
index 1e8360d..a6735d0 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)