Message ID | 20210830215152.269516-1-kari.argillander@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: change wrong header in misc.h | expand |
On Tue, Aug 31, 2021 at 12:51:52AM +0300, Kari Argillander wrote: > asm/do_div.h is probably 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> Added to misc-next, thanks.
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))
asm/do_div.h is probably 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> --- fs/btrfs/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)