|
@@ -125,7 +125,7 @@ static inline void __list_del(struct list_head *prev, struct list_head *next)
|
|
static inline void list_del(struct list_head *entry)
|
|
static inline void list_del(struct list_head *entry)
|
|
{
|
|
{
|
|
__list_del(entry->prev, entry->next);
|
|
__list_del(entry->prev, entry->next);
|
|
- entry->next = LIST_POISON1;
|
|
|
|
- entry->prev = LIST_POISON2;
|
|
|
|
|
|
+ entry->next = (struct list_head*)LIST_POISON1;
|
|
|
|
+ entry->prev = (struct list_head*)LIST_POISON2;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|