[PATCH] cpuset use combined atomic_inc_return calls
authorPaul Jackson <pj@sgi.com>
Fri, 24 Mar 2006 11:16:01 +0000 (03:16 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:22 +0000 (07:33 -0800)
commit8a39cc60bfa5a72f32d975729a354daca124f6de
treec8a364e6fc5186293bca85152c442a4a23df4822
parent7b5b9ef0e17d52c188fe73ea78e884fe67079e6c
[PATCH] cpuset use combined atomic_inc_return calls

Replace pairs of calls to <atomic_inc, atomic_read>, with a single call
atomic_inc_return, saving a few bytes of source and kernel text.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpuset.c