commit | a848e3b67c07ed79374bd0f9b82f9ce45a419643 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Wed May 09 02:34:17 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed May 09 12:30:52 2007 -0700 |
tree | 72f4385e12310bf8e1b959d4d90d32f05c10cd61 | |
parent | 63bc0362521cbaae3ed17b8de7b094f9492453f0 [diff] |
workqueue: introduce wq_per_cpu() helper Cleanup. A number of per_cpu_ptr(wq->cpu_wq, cpu) users have to check that cpu is valid for this wq. Make a simple helper. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>