btrfs: change wrong header in misc.h
PATCH 1/1 btrfs: change wrong header in misc.h
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 <[email protected]>
--- fs/btrfs/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/misc.h +1 -1
@@ -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))
Signature · 1 line
2.30.2
Quoted 5 lines · Kari Argillander
asm/do_div.his probably fordiv_u64, but it is found inmath64.h. This change will make compiler job easier and prevent compiler errors in situation where compiler will not findmath64.hfrom another paths.Signed-off-by Kari Argillander <[email protected]>
Added to misc-next, thanks.