Commit cde7417c authored by Kari Argillander's avatar Kari Argillander Committed by David Sterba
Browse files

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: default avatarKari Argillander <kari.argillander@gmail.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 6f93e834
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))