summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKari Argillander <kari.argillander@gmail.com>2021-08-31 00:51:52 +0300
committerDavid Sterba <dsterba@suse.com>2021-09-07 14:29:50 +0200
commitcde7417ce487988322d0bdaa02b4165082fbe388 (patch)
tree55927a5722ffca5c7cce963f6297118fcbcf1d2e
parent6f93e834fa7c5faa0372e46828b4b2a966ac61d7 (diff)
downloadlinux-cde7417ce487988322d0bdaa02b4165082fbe388.tar.bz2
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>
-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))