aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorCristian Stoica <cristian.stoica@freescale.com>2014-10-09 15:00:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 10:09:07 -0800
commite0f1147cc9512d3610d2f2a0f069690661444703 (patch)
tree5c4d901cb1ff60ca8658e2846c0d35bf5b9ac089 /Documentation
parentdevres: support sizes greater than an unsigned long (diff)
downloadlinux-dev-e0f1147cc9512d3610d2f2a0f069690661444703.tar.xz
linux-dev-e0f1147cc9512d3610d2f2a0f069690661444703.zip
uio: support memory sizes larger than 32 bits
This is a completion to 27a90700a4275c5178b883b65927affdafa5185c The size field is also increased to allow values larger than 32 bits on platforms that have more than 32 bit physical addresses. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/uio-howto.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/uio-howto.tmpl b/Documentation/DocBook/uio-howto.tmpl
index bbe9c1fd5cef..1fdc246e4256 100644
--- a/Documentation/DocBook/uio-howto.tmpl
+++ b/Documentation/DocBook/uio-howto.tmpl
@@ -540,7 +540,7 @@ appears in sysfs.
</para></listitem>
<listitem><para>
-<varname>unsigned long size</varname>: Fill in the size of the
+<varname>resource_size_t size</varname>: Fill in the size of the
memory block that <varname>addr</varname> points to. If <varname>size</varname>
is zero, the mapping is considered unused. Note that you
<emphasis>must</emphasis> initialize <varname>size</varname> with zero for