summaryrefslogtreecommitdiffstats
path: root/Documentation/cpuidle
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2011-05-25 02:13:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 17:39:54 +0200
commitc84598bbfa756b7d042da31aa4e198ae866a6c7d (patch)
tree9287d1dcfd313193b944f3dc49a6519a40a7ee4f /Documentation/cpuidle
parentlib/genalloc.c: add support for specifying the physical address (diff)
downloadlinux-c84598bbfa756b7d042da31aa4e198ae866a6c7d.tar.xz
linux-c84598bbfa756b7d042da31aa4e198ae866a6c7d.zip
percpu_counter: change return value and add comments
The percpu_counter_*_positive() API in UP case doesn't check if return value is positive. Add comments to explain why we don't. Also if count < 0, returns 0 instead of 1 for *read_positive(). [akpm@linux-foundation.org: tweak comment] Signed-off-by: Shaohua Li <shaohua.li@intel.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/cpuidle')
0 files changed, 0 insertions, 0 deletions