diff --git a/openucx-s390x-support.patch b/openucx-s390x-support.patch index fa22dc6..428b948 100644 --- a/openucx-s390x-support.patch +++ b/openucx-s390x-support.patch @@ -244,7 +244,7 @@ index 000000000000..ce48ff1ff451 +{ + if (!n) + return 0; -+ return 63 - __builtin_clz(n); ++ return 63 - __builtin_clzl(n); +} + +static UCS_F_ALWAYS_INLINE unsigned ucs_ffs32(uint32_t n) diff --git a/openucx.changes b/openucx.changes index cfd14d0..a2ccdb7 100644 --- a/openucx.changes +++ b/openucx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 16 09:45:05 UTC 2023 - Andreas Schwab + +- openucx-s390x-support.patch: fix use of clz builtin for 64-bit value + ------------------------------------------------------------------- Tue Oct 4 16:39:30 UTC 2022 - Nicolas Morey-Chaisemartin diff --git a/openucx.spec b/openucx.spec index 17e80ba..cb014d2 100644 --- a/openucx.spec +++ b/openucx.spec @@ -1,7 +1,7 @@ # # spec file for package openucx # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed