[PATCH 10/10] workqueue: remove wq->flush_color

2012-09-24 Thread Lai Jiangshan
Use wq->first_flusher->flush_color instead. If current task is the first_flusher, we use @flush_color or work_next_color(flush_color) directly. This patch doesn't make any functional difference. Signed-off-by: Lai Jiangshan --- kernel/workqueue.c | 52

[PATCH 10/10] workqueue: remove wq-flush_color

2012-09-24 Thread Lai Jiangshan
Use wq-first_flusher-flush_color instead. If current task is the first_flusher, we use @flush_color or work_next_color(flush_color) directly. This patch doesn't make any functional difference. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c | 52