From: Jesper Juhl Date: Sat, 30 Oct 2010 08:10:41 +0000 (+0000) Subject: powerpc/cell: Use vzalloc rather than vmalloc and memset in spu_alloc_lscsa_std X-Git-Tag: v2.6.38-rc1~405^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467d93a7ee64a5c8f675589d658ce3b8b502d288;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed