From 7050cdb205fd1b1b847c148092a8548f00a061c0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:46:10 +0200 Subject: Adding debian version 16.2.11+ds-2. Signed-off-by: Daniel Baumann --- debian/patches/only-yied-under-armv7-and-above.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/patches/only-yied-under-armv7-and-above.patch (limited to 'debian/patches/only-yied-under-armv7-and-above.patch') diff --git a/debian/patches/only-yied-under-armv7-and-above.patch b/debian/patches/only-yied-under-armv7-and-above.patch new file mode 100644 index 000000000..f5a9206b6 --- /dev/null +++ b/debian/patches/only-yied-under-armv7-and-above.patch @@ -0,0 +1,17 @@ +Description: Only yield under ARMv7 and above (#1176) +Author: Rosen Penev +Date: Tue, 12 Nov 2019 13:56:53 -0800 +Origin: upstream, https://github.com/facebook/folly/commit/62d8e6e0b91ebd6f878f3066cd9b6e5f3c18a97b.patch +Last-Update: 2021-11-24 + +--- ceph-16.2.6+ds.orig/src/rocksdb/third-party/folly/folly/portability/Asm.h ++++ ceph-16.2.6+ds/src/rocksdb/third-party/folly/folly/portability/Asm.h +@@ -19,7 +19,7 @@ inline void asm_volatile_pause() { + ::_mm_pause(); + #elif defined(__i386__) || FOLLY_X64 + asm volatile("pause"); +-#elif FOLLY_AARCH64 || defined(__arm__) ++#elif FOLLY_AARCH64 || (defined(__arm__) && !(__ARM_ARCH < 7)) + asm volatile("yield"); + #elif FOLLY_PPC64 + asm volatile("or 27,27,27"); -- cgit v1.2.3