[PATCH] spufs: initialize context correctly
authorDirk Herrendoerfer <herrendo@de.ibm.com>
Wed, 22 Mar 2006 23:00:13 +0000 (00:00 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 03:48:30 +0000 (14:48 +1100)
commitca3e91cb0cd53da70621f85d24a080b23751a013
tree3200ffe0b07f0a2a9b513ac5a1add6c0e7910896
parent6df10a82f8de89c66eb91c371d62d76e87b2cbba
[PATCH] spufs: initialize context correctly

the mfc member of a new context was not initialized to zero,
which potentially leads to wild memory accesses.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/context.c