diff --git a/mm/memory.c b/mm/memory.c index cbb57194687e393a16e9e0e74381bfcb2569b720..0e517be91a89e162bb868af9835c8641aadfd01b 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3591,7 +3591,7 @@ static int do_numa_page(struct vm_fault *vmf) 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);