hugetlb_cgroup: use helper macro NUMA_NO_NODE
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 29 Jul 2022 08:01:05 +0000 (16:01 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:25:53 +0000 (20:25 -0700)
commit99249387cf0d1e4525887c2292c4249edf0d8eea
treefca5102638729f040c7fe829fad41623fc212e5a
parent736a8ccce99c633b2457996bb9bf2cefff0db43d
hugetlb_cgroup: use helper macro NUMA_NO_NODE

It's better to use NUMA_NO_NODE instead of magic number -1. Minor
readability improvement.

Link: https://lkml.kernel.org/r/20220729080106.12752-5-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb_cgroup.c