diff options
author | 2022-08-29 17:57:09 +0800 | |
---|---|---|
committer | 2022-09-11 20:26:04 -0700 | |
commit | a38c94ed59fc312b51a33d867444ce73c6805ff6 (patch) | |
tree | ab6b71c90722e453d940ceb3e2fd117953018920 /fs | |
parent | mm/damon/vaddr: remove comparison between mm and last_mm when checking region accesses (diff) | |
download | linux-rng-a38c94ed59fc312b51a33d867444ce73c6805ff6.tar.xz linux-rng-a38c94ed59fc312b51a33d867444ce73c6805ff6.zip |
mm/thp: simplify has_transparent_hugepage by using IS_BUILTIN
Simplify code of has_transparent_hugepage define by using IS_BUILTIN.
No functional change.
Link: https://lkml.kernel.org/r/20220829095709.3287462-1-liushixin2@huawei.com
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions