summaryrefslogtreecommitdiff
path: root/include/linux/list_nulls.h
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-01-04 10:24:35 +0300
committerDavid S. Miller <davem@davemloft.net>2015-01-05 07:11:43 +0300
commita3449ded128d037e6b2bd7a59b0741de56506066 (patch)
tree1fab1e6d1fa9e020f4fbf67bed359d5a35e48414 /include/linux/list_nulls.h
parent86b35b64ed7b6b38305dee67a0f2ddff2ca5455d (diff)
downloadlinux-a3449ded128d037e6b2bd7a59b0741de56506066.tar.xz
list_nulls: fix missing header
Fixup below build error: include/linux/list_nulls.h: In function ‘hlist_nulls_del’: include/linux/list_nulls.h:84:13: error: ‘LIST_POISON2’ undeclared (first use in this function) Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/list_nulls.h')
-rw-r--r--include/linux/list_nulls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/list_nulls.h b/include/linux/list_nulls.h
index e8c300e06438..f266661d2666 100644
--- a/include/linux/list_nulls.h
+++ b/include/linux/list_nulls.h
@@ -1,6 +1,9 @@
#ifndef _LINUX_LIST_NULLS_H
#define _LINUX_LIST_NULLS_H
+#include <linux/poison.h>
+#include <linux/const.h>
+
/*
* Special version of lists, where end of list is not a NULL pointer,
* but a 'nulls' marker, which can have many different values.