commit | 893473df78b4407c9ab75cb55479409795953b01 | [log] [tgz] |
---|---|---|
author | Dave Hansen <dave@linux.vnet.ibm.com> | Tue Dec 09 08:21:36 2008 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Jan 08 16:25:09 2009 +1100 |
tree | f58da72162345985841badce4ede52cc98f69e02 | |
parent | 0be210fd664b07531cb238bafb453a2a54c2a7a8 [diff] |
powerpc/mm: Cleanup careful_allocation(): consolidate memset() 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>