diff options
author | Miaohe Lin | 2020-10-15 20:07:36 -0700 |
---|---|---|
committer | Linus Torvalds | 2020-10-16 11:11:17 -0700 |
commit | 406100762ae9ae5b7709c737ada3089160a0f77a (patch) | |
tree | 3a7129a66491e1aadfedd5a2f0fc19738a091c40 /mm/util.c | |
parent | 11c9c7edae06da789abfdeefe5123162a3f1c7dc (diff) |
mm/vmstat.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/20200905084008.15748-1-linmiaohe@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions