]> 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)
commit93f454b0f296b7f38a3ffb5abb8c3d03339e90dd
tree7890285f8ce721102940b0da2c9a7265be7ce07f
parent878a7a26e0e1168962b5bb9d17cc12b0679b6d2c
Revert "mm/page_alloc: make should_fail_alloc_page() static"

This reverts commit 6825ab3829381469ccacf8e1a6eca9f461b0a2d5.

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: 6825ab382938 ("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