]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/spufs: Use kmalloc rather than kzalloc for switch log buffer
authorJeremy Kerr <jk@ozlabs.org>
Fri, 17 Oct 2008 01:02:31 +0000 (12:02 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 21 Oct 2008 00:13:54 +0000 (11:13 +1100)
commita6a70945487c7e1c6334bf08576241f28b60d2af
treec60fbf1343004cf883912aef9fd7741ec3b90c3f
parentedbd2254a7c255441a20d1df3066f72040e5bdf6
powerpc/spufs: Use kmalloc rather than kzalloc for switch log buffer

No need to zero the entire buffer, just the head and tail indices.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/file.c