Commit 084c304980f05833bc8a91b856af7dc7a7bb7d60

Authored by Marco Stornelli
Committed by Linus Torvalds
1 parent b67ad18b06

DOC: update xip method info

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

Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 5 additions and 4 deletions Side-by-side Diff

Documentation/filesystems/xip.txt
... ... @@ -39,10 +39,11 @@
39 39 today:
40 40 - dcssblk: s390 dcss block device driver
41 41  
42   -An address space operation named get_xip_page is used to retrieve reference
43   -to a struct page. To address the target page, a reference to an address_space,
44   -and a sector number is provided. A 3rd argument indicates whether the
45   -function should allocate blocks if needed.
  42 +An address space operation named get_xip_mem is used to retrieve references
  43 +to a page frame number and a kernel address. To obtain these values a reference
  44 +to an address_space is provided. This function assigns values to the kmem and
  45 +pfn parameters. The third argument indicates whether the function should allocate
  46 +blocks if needed.
46 47  
47 48 This address space operation is mutually exclusive with readpage&writepage that
48 49 do page cache read/write operations.