Revert "mm/page_alloc: make should_fail_alloc_page() static"
Subsystems (2)
PATCH 1/1 Revert "mm/page_alloc: make should_fail_alloc_page() static"
From: Matteo Croce <[email protected]>
This reverts commit f7173090033c70886d925995e9dfdfb76dbb2441.
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'
Fixes f7173090033c ("mm/page_alloc: make should_fail_alloc_page() static")
Signed-off-by Matteo Croce <[email protected]>
--- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page_alloc.c +1 -1
@@ -3831,7 +3831,7 @@ static inline bool __should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)#endif /* CONFIG_FAIL_PAGE_ALLOC */ -static noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) +noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) {return __should_fail_alloc_page (gfp_mask, order); }
Signature · 1 line
2.31.1
Quoted 6 lines · Matteo Croce
From: Matteo Croce <[email protected]>
This reverts commit
f7173090033c70886d925995e9dfdfb76dbb2441.Fix an unresolved symbol error when
CONFIG_DEBUG_INFO_BTF=y:
Quoted 8 lines
LD vmlinux
BTFIDS vmlinux
FAILED unresolved symbolshould_fail_alloc_page
make: *** [Makefile:1199: vmlinux] Error 255
make: *** Deleting file 'vmlinux'Fixes f7173090033c ("mm/page_alloc: make should_fail_alloc_page() static")Signed-off-by Matteo Croce <[email protected]>
Acked-by Mel Gorman <[email protected]>
Signature · 2 lines
Mel Gorman SUSE Labs