aboutsummaryrefslogtreecommitdiffstats
path: root/main/btrfs-progs/includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/btrfs-progs/includes.patch')
-rw-r--r--main/btrfs-progs/includes.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/btrfs-progs/includes.patch b/main/btrfs-progs/includes.patch
index ae69dae492..393399a999 100644
--- a/main/btrfs-progs/includes.patch
+++ b/main/btrfs-progs/includes.patch
@@ -12,8 +12,8 @@ index 323c571..7f30b06 100644
/**
* __ffs - find first bit in word.
-diff --git a/kerncompat.h b/kerncompat.h
-index 1fc2b34..e7d3ca5 100644
+diff --git a/kerncompat.h.orig b/kerncompat.h
+index bb03194e127e..28f832a2e625 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -28,6 +28,7 @@
@@ -21,6 +21,6 @@ index 1fc2b34..e7d3ca5 100644
#include <stddef.h>
#include <linux/types.h>
+#include <linux/limits.h>
+ #include <stdint.h>
- #ifndef READ
- #define READ 0
+ #define ptr_to_u64(x) ((u64)(uintptr_t)x)