Skip to content

Commit 54aa386

Browse files
teknoravertorvalds
authored andcommitted
Revert "mm/page_alloc: make should_fail_alloc_page() static"
This reverts commit f717309. 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/[email protected] Fixes: f717309 ("mm/page_alloc: make should_fail_alloc_page() static") Signed-off-by: Matteo Croce <[email protected]> Acked-by: Mel Gorman <[email protected]> Tested-by: John Hubbard <[email protected]> Cc: Michal Hocko <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Dan Streetman <[email protected]> Cc: Yang Shi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 2db710c commit 54aa386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/page_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3820,7 +3820,7 @@ static inline bool __should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
38203820

38213821
#endif /* CONFIG_FAIL_PAGE_ALLOC */
38223822

3823-
static noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
3823+
noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
38243824
{
38253825
return __should_fail_alloc_page(gfp_mask, order);
38263826
}

0 commit comments

Comments
 (0)