1 Index: linux-2.4.20/include/linux/list.h
2 ===================================================================
3 --- linux-2.4.20.orig/include/linux/list.h 2003-10-17 23:56:26.000000000 +0400
4 +++ linux-2.4.20/include/linux/list.h 2003-10-22 14:02:22.000000000 +0400
6 pos = list_entry(pos->member.next, typeof(*pos), member), \
7 prefetch(pos->member.next))
9 +/* 2.5 uses hlists for some things, like the d_hash. we'll treat them
10 + * as 2.5 and let macros drop back.. */
11 +#define hlist_entry list_entry
12 +#define hlist_head list_head
13 +#define hlist_node list_head
14 +#define HLIST_HEAD LIST_HEAD
15 +#define INIT_HLIST_HEAD INIT_LIST_HEAD
16 +#define hlist_del_init list_del_init
17 +#define hlist_add_head list_add
18 +#define hlist_for_each_safe list_for_each_safe
20 #endif /* __KERNEL__ || _LVM_H_INCLUDE */