diff --git a/Backport-JDK-8348554-Enhance-Linux-kernel-version-ch.patch b/Backport-JDK-8348554-Enhance-Linux-kernel-version-ch.patch index 0e74d63883d714b350a9d8c2d4fe87c28cb76ec5..383b74c166d1be8b15b8c9f1a4867708d353a3f2 100644 --- a/Backport-JDK-8348554-Enhance-Linux-kernel-version-ch.patch +++ b/Backport-JDK-8348554-Enhance-Linux-kernel-version-ch.patch @@ -56,13 +56,13 @@ index 7cb862d7c3e..22216a568bc 100644 FILE* fh; uint64_t userTicks, niceTicks, systemTicks, idleTicks; diff --git a/src/hotspot/os/linux/os_linux.hpp b/src/hotspot/os/linux/os_linux.hpp -index 029f2aa7a52..f2901480d29 100644 +index 49f2777d1..b8fde8265 100644 --- a/src/hotspot/os/linux/os_linux.hpp +++ b/src/hotspot/os/linux/os_linux.hpp -@@ -109,7 +109,13 @@ class os::Linux { - bool has_steal_ticks; +@@ -107,7 +107,13 @@ class os::Linux { }; + static int active_processor_count(); - static void kernel_version(long* major, long* minor); + static void kernel_version(long* major, long* minor, long* patch); + diff --git a/openjdk-21.spec b/openjdk-21.spec index 28cec8d6b90a16fc114209ee3c3ff795436a16c5..c2e74a4e25582ca70c9370e4106f13c0b86337d1 100644 --- a/openjdk-21.spec +++ b/openjdk-21.spec @@ -905,7 +905,7 @@ Name: java-21-%{origin} Version: %{newjavaver}.%{buildver} # This package needs `.rolling` as part of Release so as to not conflict on install with # java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as -Release: 1 +Release: 2 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages @@ -1918,6 +1918,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Mon Jul 21 2025 Dingli Zhang - 1:21.0.8.9-2 +- Fix build error for riscv64 + * Thu Jul 17 2025 Benshuai5D - 1:21.0.8.9-1 - huawei-remove-provides-in-kaeprovider-module-info.patch