diff options
author | Jesper Juhl <[email protected]> | 2010-10-30 08:10:41 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2010-11-29 15:48:21 +1100 |
commit | 467d93a7ee64a5c8f675589d658ce3b8b502d288 (patch) | |
tree | 8eaaedcfc31b2f405778072ba4d0856c513bfa50 /lib/string_helpers.c | |
parent | cd34206e949b66d3c5fa3e4d2905aa4af29d1b85 (diff) |
powerpc/cell: Use vzalloc rather than vmalloc and memset in spu_alloc_lscsa_std
Hi,
We can get rid of a memset in
arch/powerpc/platforms/cell/spufs/lscsa_alloc.c::spu_alloc_lscsa_std() by
using vzalloc() rather than vmalloc()+memset().
Completely untested patch below since I have no hardware nor tools to
compile this.
Signed-off-by: Jesper Juhl <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions