[PATCH] DOC: update xip method info

From: Randy Dunlap
Date: Fri Nov 07 2008 - 17:09:12 EST


From: Marco Stornelli <marco.stornelli@xxxxxxxxx>

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

Signed-off-by: Marco Stornelli <marco.stornelli@xxxxxxxxx>
cc: Carsten Otte <cotte@xxxxxxxxxx>
---
Documentation/filesystems/xip.txt | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

--- linux-next-20081107.orig/Documentation/filesystems/xip.txt
+++ linux-next-20081107/Documentation/filesystems/xip.txt
@@ -39,10 +39,11 @@ The block device operation is optional,
today:
- dcssblk: s390 dcss block device driver

-An address space operation named get_xip_page is used to retrieve reference
-to a struct page. To address the target page, a reference to an address_space,
-and a sector number is provided. A 3rd argument indicates whether the
-function should allocate blocks if needed.
+An address space operation named get_xip_mem is used to retrieve references
+to a page frame number and a kernel address. To obtain these values a reference
+to an address_space is provided. This function assigns values to the kmem and
+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
do page cache read/write operations.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/