git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1...
[pandora-kernel.git]
/
Documentation
/
flexible-arrays.txt
diff --git
a/Documentation/flexible-arrays.txt
b/Documentation/flexible-arrays.txt
index
cb8a3a0
..
df904ae
100644
(file)
--- a/
Documentation/flexible-arrays.txt
+++ b/
Documentation/flexible-arrays.txt
@@
-66,10
+66,10
@@
trick is to ensure that any needed memory allocations are done before
entering atomic context, using:
int flex_array_prealloc(struct flex_array *array, unsigned int start,
entering atomic context, using:
int flex_array_prealloc(struct flex_array *array, unsigned int start,
- unsigned int
end
, gfp_t flags);
+ unsigned int
nr_elements
, gfp_t flags);
This function will ensure that memory for the elements indexed in the range
This function will ensure that memory for the elements indexed in the range
-defined by start and
end
has been allocated. Thereafter, a
+defined by start and
nr_elements
has been allocated. Thereafter, a
flex_array_put() call on an element in that range is guaranteed not to
block.
flex_array_put() call on an element in that range is guaranteed not to
block.