summaryrefslogtreecommitdiff
path: root/lib/math/int_sqrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/math/int_sqrt.c')
-rw-r--r--lib/math/int_sqrt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/math/int_sqrt.c b/lib/math/int_sqrt.c
index 30e0f9770f88..a8170bb9142f 100644
--- a/lib/math/int_sqrt.c
+++ b/lib/math/int_sqrt.c
@@ -6,9 +6,10 @@
* square root from Guy L. Steele.
*/
-#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/bitops.h>
+#include <linux/limits.h>
+#include <linux/math.h>
/**
* int_sqrt - computes the integer square root