mm-mark-create_huge_pmd-inline-to-prevent-build-failure.patch removed from -mm tree
The patch titled
Subject: mm/memory.c: mark create_huge_pmd() inline to prevent build failure
has been removed from the -mm tree. Its filename was
mm-mark-create_huge_pmd-inline-to-prevent-build-failure.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: mm/memory.c: mark create_huge_pmd() inline to prevent build failure
With gcc 4.1.2:
mm/memory.o: In function `create_huge_pmd':
memory.c:(.text+0x93e): undefined reference to `do_huge_pmd_anonymous_page'
Interestingly, create_huge_pmd() is emitted in the assembler output, but never called.
Converting transparent_hugepage_enabled() from a macro to a static inline function reduced the ability of the compiler to remove unused code.
Fix this by marking create_huge_pmd() inline.
---
mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory.c renamed from mm/memory.c~mm-mark-create_huge_pmd-inline-to-prevent-build-failure +1 -1
@@ -3591,7 +3591,7 @@ out:return 0 ; } -static int create_huge_pmd (struct vm_fault *vmf) +static inline int create_huge_pmd (struct vm_fault *vmf) {if (vma_is_anonymous (vmf->vma))return do_huge_pmd_anonymous_page (vmf);
_
Patches currently in -mm which might be from [email protected] are