Skip to content

Commit cd51082

Browse files
sjp38dbaluta
authored andcommitted
Documentation/memory_mapping: Fix typos
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
1 parent aaff6bf commit cd51082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/teaching/labs/memory_mapping.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ Implement the mmap driver function.
398398

399399
Loop through all virtual pages and for each:
400400
* determine the physical address
401-
* map it with :c:func:`remap_fpn_range`
401+
* map it with :c:func:`remap_pfn_range`
402402

403-
Make sure the that you determine the physical address
403+
Make sure that you determine the physical address
404404
each time and that you use a range of one page for mapping.
405405

406406
For testing, load the kernel module and run:

0 commit comments

Comments
 (0)