summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-10-16 06:11:28 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-16 21:11:20 +0300
commit1d339638a954edce06ffcaa15d883d322e9e8291 (patch)
treef97127ed5e09d696a15951631f8752eaabee7cf2 /include
parent6ed9b92e290b530197c2dda2271f5312abc475e6 (diff)
downloadlinux-1d339638a954edce06ffcaa15d883d322e9e8291.tar.xz
lib/percpu_counter.c: use helper macro abs()
Use helper macro abs() to simplify the "x >= t || x <= -t" cmp. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/20200927122746.5964-1-linmiaohe@huawei.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions