summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-06-23 10:39:59 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2011-06-23 10:39:59 +1000
commit3433fb9f19ab012aca2fb4e142076f24afc9baa1 (patch)
tree0d6fcc6434506a462aa4842bba0ec1bedafb09a3 /Documentation
parent56299378726d5f2ba8d3c8cbbd13cb280ba45e4f (diff)
docum-codingstyle-update-memallocs
The list of available general purpose memory allocators in Documentation/CodingStyle chapter 14 is incomplete. This patch adds the missing vzalloc() to the list. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/CodingStyle4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index 58b0bf917834..fa6e25b94a54 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -680,8 +680,8 @@ ones already enabled by DEBUG.
Chapter 14: Allocating memory
The kernel provides the following general purpose memory allocators:
-kmalloc(), kzalloc(), kcalloc(), and vmalloc(). Please refer to the API
-documentation for further information about them.
+kmalloc(), kzalloc(), kcalloc(), vmalloc(), and vzalloc(). Please refer to
+the API documentation for further information about them.
The preferred form for passing a size of a struct is the following: