diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-01-04 02:24:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-04 23:11:43 -0500 |
commit | a3449ded128d037e6b2bd7a59b0741de56506066 (patch) | |
tree | 1fab1e6d1fa9e020f4fbf67bed359d5a35e48414 | |
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>
-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 @@ | |||
1 | #ifndef _LINUX_LIST_NULLS_H | 1 | #ifndef _LINUX_LIST_NULLS_H |
2 | #define _LINUX_LIST_NULLS_H | 2 | #define _LINUX_LIST_NULLS_H |
3 | 3 | ||
4 | #include <linux/poison.h> | ||
5 | #include <linux/const.h> | ||
6 | |||
4 | /* | 7 | /* |
5 | * Special version of lists, where end of list is not a NULL pointer, | 8 | * Special version of lists, where end of list is not a NULL pointer, |
6 | * but a 'nulls' marker, which can have many different values. | 9 | * but a 'nulls' marker, which can have many different values. |