summaryrefslogtreecommitdiff
path: root/system/userspace-rcu/endian.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-10 22:08:36 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-24 22:58:36 -0600
commita8f3899fb2db5d7498abe27d17bb7dc707e5d226 (patch)
tree349345b558ec48780e8ac0469ade31f1a8e8bc16 /system/userspace-rcu/endian.patch
parent8012b7171bc9f902af3ca1da49b7f67ab5d8c4f9 (diff)
downloadpackages-a8f3899fb2db5d7498abe27d17bb7dc707e5d226.tar.gz
packages-a8f3899fb2db5d7498abe27d17bb7dc707e5d226.tar.bz2
packages-a8f3899fb2db5d7498abe27d17bb7dc707e5d226.tar.xz
packages-a8f3899fb2db5d7498abe27d17bb7dc707e5d226.zip
system/userspace-rcu: New package
Required for newer xfsprogs releases.
Diffstat (limited to 'system/userspace-rcu/endian.patch')
-rw-r--r--system/userspace-rcu/endian.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/userspace-rcu/endian.patch b/system/userspace-rcu/endian.patch
new file mode 100644
index 000000000..d80495c8a
--- /dev/null
+++ b/system/userspace-rcu/endian.patch
@@ -0,0 +1,11 @@
+--- userspace-rcu-0.14.0/doc/examples/rculfhash/jhash.h.old 2023-02-13 11:51:12.000000000 -0600
++++ userspace-rcu-0.14.0/doc/examples/rculfhash/jhash.h 2024-08-10 18:35:07.651374111 -0500
+@@ -51,7 +51,7 @@
+ c ^= b; c -= rot(b, 24); \
+ }
+
+-#if (BYTE_ORDER == LITTLE_ENDIAN)
++#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
+ #define HASH_LITTLE_ENDIAN 1
+ #else
+ #define HASH_LITTLE_ENDIAN 0