git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be210f
)
powerpc/mm: Cleanup careful_allocation(): consolidate memset()
author
Dave Hansen
<dave@linux.vnet.ibm.com>
Tue, 9 Dec 2008 08:21:36 +0000
(08:21 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Thu, 8 Jan 2009 05:25:09 +0000
(16:25 +1100)
Both users of careful_allocation() immediately memset() the
result. So, just do it in one place.
Also give careful_allocation() a 'z' prefix to bring it in
line with kzmalloc() and friends.
Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
No differences found