Re: [PATCH] [RSDL 1/6] lists: add list splice tail
From: Gerald Britton
Date: Sun Mar 04 2007 - 13:54:45 EST
On Sun, Mar 04, 2007 at 06:02:13PM +1100, Con Kolivas wrote:
> Add a list_splice_tail variant of list_splice.
>
> Patch-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> Signed-off-by: Con Kolivas <kernel@xxxxxxxxxxx>
...
> @@ -360,6 +386,22 @@ static inline void list_splice_init(stru
> }
>
> /**
> + * list_splice_init - join two lists at one's tail and reinitialise emptied
You should update the comment to match the function.
-- Gerald
> + * @list: the new list to add.
> + * @head: the place to add it in the first list.
> + *
> + * The list at @list is reinitialised
> + */
> +static inline void list_splice_tail_init(struct list_head *list,
> + struct list_head *head)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/