Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ying Xue and committed by
David S. Miller
a3449ded 86b35b64

+3
+3
include/linux/list_nulls.h
··· 1 1 #ifndef _LINUX_LIST_NULLS_H 2 2 #define _LINUX_LIST_NULLS_H 3 3 4 + #include <linux/poison.h> 5 + #include <linux/const.h> 6 + 4 7 /* 5 8 * Special version of lists, where end of list is not a NULL pointer, 6 9 * but a 'nulls' marker, which can have many different values.