summaryrefslogtreecommitdiffstats
path: root/lib/list_debug.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-01-21 00:46:49 +0100
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-28 23:49:27 +0100
commitb116ee4d772565d204db057a10fcd81d7a2513a8 (patch)
tree7336a79f5446a8c648ccef609b70027d188b8c12 /lib/list_debug.c
parentspinlock: macroize assert_spin_locked to avoid bug.h dependency (diff)
downloadlinux-b116ee4d772565d204db057a10fcd81d7a2513a8.tar.xz
linux-b116ee4d772565d204db057a10fcd81d7a2513a8.zip
lib: fix implicit users of kernel.h for TAINT_WARN
A pending header cleanup will cause this to show up as: lib/average.c:38: error: 'TAINT_WARN' undeclared (first use in this function) lib/list_debug.c:24: error: 'TAINT_WARN' undeclared (first use in this function) and TAINT_WARN comes from include/linux/kernel.h file. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'lib/list_debug.c')
-rw-r--r--lib/list_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/list_debug.c b/lib/list_debug.c
index b8029a5583ff..7204e619a4c1 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.