diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-01-04 15:24:35 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-04 23:11:43 -0500 |
commit | a3449ded128d037e6b2bd7a59b0741de56506066 (patch) | |
tree | 1fab1e6d1fa9e020f4fbf67bed359d5a35e48414 /include | |
parent | 86b35b64ed7b6b38305dee67a0f2ddff2ca5455d (diff) |
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')
-rw-r--r-- | include/linux/list_nulls.h | 3 |
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. |