summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/misc.h
diff options
context:
space:
mode:
authorKari Argillander <kari.argillander@gmail.com>2021-08-30 23:51:52 +0200
committerDavid Sterba <dsterba@suse.com>2021-09-07 14:29:50 +0200
commitcde7417ce487988322d0bdaa02b4165082fbe388 (patch)
tree55927a5722ffca5c7cce963f6297118fcbcf1d2e /fs/btrfs/misc.h
parentbtrfs: fix upper limit for max_inline for page size 64K (diff)
downloadlinux-cde7417ce487988322d0bdaa02b4165082fbe388.tar.xz
linux-cde7417ce487988322d0bdaa02b4165082fbe388.zip
btrfs: use correct header for div_u64 in misc.h
asm/do_div.h is for div_u64, but it is found in math64.h. This change will make compiler job easier and prevent compiler errors in situation where compiler will not find math64.h from another paths. Signed-off-by: Kari Argillander <kari.argillander@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/misc.h')
-rw-r--r--fs/btrfs/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/misc.h b/fs/btrfs/misc.h
index 6461ebc3a1c1..340f995652f2 100644
--- a/fs/btrfs/misc.h
+++ b/fs/btrfs/misc.h
@@ -5,7 +5,7 @@
#include <linux/sched.h>
#include <linux/wait.h>
-#include <asm/div64.h>
+#include <linux/math64.h>
#include <linux/rbtree.h>
#define in_range(b, first, len) ((b) >= (first) && (b) < (first) + (len))