]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mm/page_alloc: make should_fail_alloc_page() static"
authorMatteo Croce <mcroce@microsoft.com>
Thu, 15 Jul 2021 04:26:43 +0000 (21:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Jul 2021 17:13:49 +0000 (10:13 -0700)
commitdfe7ed49bdbd07118760a311370a3a072d734a59
tree7890285f8ce721102940b0da2c9a7265be7ce07f
parent7806f2317d2c414574f7526115f734ed11bc07fe
Revert "mm/page_alloc: make should_fail_alloc_page() static"

This reverts commit 6bba2f5d063d16f35b23bb5f586beb7ac7e87082.

Fix an unresolved symbol error when CONFIG_DEBUG_INFO_BTF=y:

    LD      vmlinux
    BTFIDS  vmlinux
  FAILED unresolved symbol should_fail_alloc_page
  make: *** [Makefile:1199: vmlinux] Error 255
  make: *** Deleting file 'vmlinux'

Link: https://lkml.kernel.org/r/20210708191128.153796-1-mcroce@linux.microsoft.com
Fixes: 6bba2f5d063d ("mm/page_alloc: make should_fail_alloc_page() static")
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Tested-by: John Hubbard <jhubbard@nvidia.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Yang Shi <shy828301@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c