[PATCH v2 1/3] mm: Export vmf_insert_mixed_mkwrite()
mhkelley58 at gmail.com
mhkelley58 at gmail.com
Fri May 2 04:05:23 UTC 2025
From: Michael Kelley <mhklinux at outlook.com>
Export vmf_insert_mixed_mkwrite() for use by fbdev deferred I/O code,
which can be built as a module.
Commit cd1e0dac3a3e ("mm: unexport vmf_insert_mixed_mkwrite") is
effectively reverted.
Signed-off-by: Michael Kelley <mhklinux at outlook.com>
---
Changes in v2:
* Exported as GPL symbol [Christoph Hellwig]
mm/memory.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/memory.c b/mm/memory.c
index 424420349bd3..24dc2aacea62 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2698,6 +2698,7 @@ vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma,
{
return __vm_insert_mixed(vma, addr, pfn, true);
}
+EXPORT_SYMBOL_GPL(vmf_insert_mixed_mkwrite);
/*
* maps a range of physical memory into the requested pages. the old
--
2.25.1
More information about the dri-devel
mailing list