diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-05-09 02:34:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 12:30:52 -0700 |
commit | a848e3b67c07ed79374bd0f9b82f9ce45a419643 (patch) | |
tree | 72f4385e12310bf8e1b959d4d90d32f05c10cd61 /kernel/ptrace.c | |
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>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions