summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-04 23:58:56 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:10:02 +0200
commitdb32bb9a5fd6bd7c7031b4b9d6c9a5e27b651e5d (patch)
treed5191f0924e443eea5ce93c34ab3d5bac86b660e
parentmean and variance: More tests (diff)
downloadlinux-db32bb9a5fd6bd7c7031b4b9d6c9a5e27b651e5d.tar.xz
linux-db32bb9a5fd6bd7c7031b4b9d6c9a5e27b651e5d.zip
mean and variance: Add a missing include
abs() is in math.h Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--fs/bcachefs/mean_and_variance.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/mean_and_variance.h b/fs/bcachefs/mean_and_variance.h
index 6dd4c050e78a..647505010b39 100644
--- a/fs/bcachefs/mean_and_variance.h
+++ b/fs/bcachefs/mean_and_variance.h
@@ -4,6 +4,7 @@
#include <linux/types.h>
#include <linux/limits.h>
+#include <linux/math.h>
#include <linux/math64.h>
#define SQRT_U64_MAX 4294967295ULL