Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 084c3049 authored by Marco Stornelli's avatar Marco Stornelli Committed by Linus Torvalds
Browse files

DOC: update xip method info



xip documentation updated:
- change "get_xip_page" to "get_xip_mem";
- explain changed function parameters

Signed-off-by: default avatarMarco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b67ad18b
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -39,10 +39,11 @@ The block device operation is optional, these block devices support it as of
today:
today:
- dcssblk: s390 dcss block device driver
- dcssblk: s390 dcss block device driver


An address space operation named get_xip_page is used to retrieve reference
An address space operation named get_xip_mem is used to retrieve references
to a struct page. To address the target page, a reference to an address_space,
to a page frame number and a kernel address. To obtain these values a reference
and a sector number is provided. A 3rd argument indicates whether the
to an address_space is provided. This function assigns values to the kmem and
function should allocate blocks if needed.
pfn parameters. The third argument indicates whether the function should allocate
blocks if needed.


This address space operation is mutually exclusive with readpage&writepage that
This address space operation is mutually exclusive with readpage&writepage that
do page cache read/write operations.
do page cache read/write operations.