applied: https://github.com/crash-utility/crash/commit/e205c09f514aa3ce1ae2e118cf498b3fd031d055
On Fri, Dec 12, 2025 at 8:42 PM Lianbo Jiang <[email protected]> wrote: > > On 12/11/25 11:57 AM, [email protected] wrote: > > > Date: Thu, 11 Dec 2025 09:41:18 +0800 > > From: Chenghao Duan<[email protected]> > > Subject: [Crash-utility] [PATCH] Loongarch: update the NR_CPUS to 2048 > > To:[email protected] > > Cc: Chenghao Duan<[email protected]> > > Message-ID:<[email protected]> > > > > Since the kernel commit 9559d5806319 ("LoongArch: Increase max > > supported CPUs up to 2048")the NR_CPUS on Linux kernel ranges > > from 2-2048. So let's match NR_CPUS with the max NR_CPUS count > > on the Linux kernel. > > Thank you for the patch. Ack. > > > Lianbo > > > > > Signed-off-by: Chenghao Duan<[email protected]> > > --- > > defs.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/defs.h b/defs.h > > index 156ac02..c407ac4 100644 > > --- a/defs.h > > +++ b/defs.h > > @@ -169,7 +169,7 @@ > > #define NR_CPUS (256) > > #endif > > #ifdef LOONGARCH64 > > -#define NR_CPUS (256) > > +#define NR_CPUS (2048) > > #endif > > > > #define NR_DEVICE_DUMPS (64) > > -- 2.25.1 > -- > Crash-utility mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/ > Contribution Guidelines: https://github.com/crash-utility/crash/wiki -- Crash-utility mailing list -- [email protected] To unsubscribe send an email to [email protected] https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/ Contribution Guidelines: https://github.com/crash-utility/crash/wiki
