The patch titled Documentation/atomic_ops.txt: fix sample code has been removed from the -mm tree. Its filename was documentation-atomic_opstxt-fix-sample-code.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: Documentation/atomic_ops.txt: fix sample code From: "Figo.zhang" <figo1802@xxxxxxxxx> list_add() lost a parameter in sample code. Signed-off-by: Figo.zhang <figo1802@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/atomic_ops.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN Documentation/atomic_ops.txt~documentation-atomic_opstxt-fix-sample-code Documentation/atomic_ops.txt --- a/Documentation/atomic_ops.txt~documentation-atomic_opstxt-fix-sample-code +++ a/Documentation/atomic_ops.txt @@ -229,10 +229,10 @@ kernel. It is the use of atomic counter counting, and it works such that once the counter falls to zero it can be guaranteed that no other entity can be accessing the object: -static void obj_list_add(struct obj *obj) +static void obj_list_add(struct obj *obj, struct list_head *head) { obj->active = 1; - list_add(&obj->list); + list_add(&obj->list, head); } static void obj_list_del(struct obj *obj) _ Patches currently in -mm which might be from figo1802@xxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html