]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm-hwpoison-hugetlb-introduce-subpage_index_hwpoison-to-save-raw-error-page-fix
authorNaoya Horiguchi <naoya.horiguchi@nec.com>
Fri, 3 Jun 2022 02:10:43 +0000 (02:10 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:03 +0000 (20:15 -0400)
commitbe919200722d2bd5ef63a94d7f2863119e7cf8d1
tree9d51f3b5dfa84f74be339891381ef5e2bea7575b
parent42485afc6d35c90131f87595894d14e2b5ddcd76
mm-hwpoison-hugetlb-introduce-subpage_index_hwpoison-to-save-raw-error-page-fix

build fix

__get_huge_page_for_hwpoison() is not needed when CONFIG_HUGETLB_PAGE is
n, so extending "#ifdef CONFIG_HUGETLB_PAG" to cover
__get_huge_page_for_hwpoison() would be a simple resolution.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c