diff --git a/0003-crash-8.0.4-add-support-for-loongarch64.patch b/0003-crash-8.0.4-add-support-for-loongarch64.patch index fad45fe481beee1821eb0e070dec9bfa0488d68b..c4d8c20c132607d7b4dba8bceae98c6c09c3d9d2 100644 --- a/0003-crash-8.0.4-add-support-for-loongarch64.patch +++ b/0003-crash-8.0.4-add-support-for-loongarch64.patch @@ -288,7 +288,7 @@ index deef1d5..2d1ef9a 100644 #define NR_CPUS (256) #endif +#ifdef LOONGARCH64 -+#define NR_CPUS (256) ++#define NR_CPUS (2048) +#endif #ifdef SPARC64 #define NR_CPUS (4096) diff --git a/crash.spec b/crash.spec index 9713006987a9a698c59dba9e969f0866a72ef5c7..6ba8a7a8a8a0df9f38896893188f7698fc37cdc9 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 8.0.4 -Release: 13 +Release: 14 Summary: Linux kernel crash utility. License: GPLv3 URL: https://crash-utility.github.io @@ -101,6 +101,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Wed May 21 2025 Ming Wang - 8.0.4-14 +- Set the NR_CPUS macro in the crash tool to 2048 to match the kernel's value + * Tue May 20 2025 zhangjian - 8.0.4-13 - fix ps error when mm_struct.rss_stat is lazy initialized