]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "selftests: mm: fix map_hugetlb failure on 64K page size systems"
authorLeon Hwang <leon.hwang@linux.dev>
Thu, 23 Oct 2025 01:47:32 +0000 (09:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2025 13:04:43 +0000 (14:04 +0100)
commit893acc544b462c0cd064e03467c7ef7aa495d193
treec26626ae6a48e96d7889a068fd894b37ba641f9d
parent41cb9fd904fe0c39d52e82dd84dc3c96b7aa9693
Revert "selftests: mm: fix map_hugetlb failure on 64K page size systems"

This reverts commit a584c7734a4dd050451fcdd65c66317e15660e81 which is
commit 91b80cc5b39f00399e8e2d17527cad2c7fa535e2 upstream.

This fixes the following build error:

map_hugetlb.c: In function 'main':
map_hugetlb.c:79:25: warning: implicit declaration of function 'default_huge_page_size' [-Wimplicit-function-declaration]
79 |         hugepage_size = default_huge_page_size();

Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/vm/map_hugetlb.c