From: Oleg Nesterov Date: Fri, 25 Jul 2008 08:47:47 +0000 (-0700) Subject: workqueues: insert_work: use "list_head *" instead of "int tail" X-Git-Tag: v2.6.27-rc1~334 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a4d9b0aa0d3c50314e57525a5e5ec2cfc48b4c8;p=pandora-kernel.git workqueues: insert_work: use "list_head *" instead of "int tail" insert_work() inserts the new work_struct before or after cwq->worklist, depending on the "int tail" parameter. Change it to accept "list_head *" instead, this shrinks .text a bit and allows us to insert the barrier after specific work_struct. Signed-off-by: Oleg Nesterov Cc: Jarek Poplawski Cc: Max Krasnyansky Cc: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed