]> git.baikalelectronics.ru Git - kernel.git/commit
mm/thp: simplify has_transparent_hugepage by using IS_BUILTIN
authorLiu Shixin <liushixin2@huawei.com>
Mon, 29 Aug 2022 09:57:09 +0000 (17:57 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:26:04 +0000 (20:26 -0700)
commit4f69f567509de9fa5b9259c28ddab36867d3ebe5
treeab6b71c90722e453d940ceb3e2fd117953018920
parentdb5d0910e15aa404cb00adcf04eb74706a8734fc
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>
include/linux/pgtable.h