diff options
author | Kari Argillander | 2021-08-31 00:51:52 +0300 |
---|---|---|
committer | David Sterba | 2021-09-07 14:29:50 +0200 |
commit | cde7417ce487988322d0bdaa02b4165082fbe388 (patch) | |
tree | 55927a5722ffca5c7cce963f6297118fcbcf1d2e /fs/btrfs | |
parent | 6f93e834fa7c5faa0372e46828b4b2a966ac61d7 (diff) |
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')
-rw-r--r-- | fs/btrfs/misc.h | 2 |
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)) |