summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/average.c1
-rw-r--r--lib/list_debug.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/average.c b/lib/average.c
index 5576c284149..57c38c6e39c 100644
--- a/lib/average.c
+++ b/lib/average.c
@@ -7,6 +7,7 @@
#include <linux/module.h>
#include <linux/average.h>
+#include <linux/kernel.h>
#include <linux/bug.h>
#include <linux/log2.h>
diff --git a/lib/list_debug.c b/lib/list_debug.c
index b8029a5583f..7204e619a4c 100644
--- a/lib/list_debug.c
+++ b/lib/list_debug.c
@@ -8,6 +8,7 @@
#include <linux/module.h>
#include <linux/list.h>
+#include <linux/kernel.h>
/*
* Insert a new entry between two known consecutive entries.