btrfs: use correct header for div_u64 in misc.h
authorKari Argillander <kari.argillander@gmail.com>
Mon, 30 Aug 2021 21:51:52 +0000 (00:51 +0300)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 Sep 2021 12:29:50 +0000 (14:29 +0200)
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>
fs/btrfs/misc.h

index 6461ebc..340f995 100644 (file)
@@ -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))