Skip to content

Commit cde7417

Browse files
teksturikdave
authored andcommitted
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 6f93e83 commit cde7417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/btrfs/misc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#include <linux/sched.h>
77
#include <linux/wait.h>
8-
#include <asm/div64.h>
8+
#include <linux/math64.h>
99
#include <linux/rbtree.h>
1010

1111
#define in_range(b, first, len) ((b) >= (first) && (b) < (first) + (len))

0 commit comments

Comments
 (0)