]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: Fix restore_decr_wrapped() to match CBE Handbook
authorJeremy Kerr <jk@ozlabs.org>
Wed, 19 Sep 2007 04:38:12 +0000 (14:38 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Sep 2007 05:12:17 +0000 (15:12 +1000)
commit7315f8e974019bb23d61092217f482ac17ed76b9
tree037941b01c1d6ce683c2e20228a49db5fa2b3020
parente14901c7e1c96124a4d03a181b2b31a47e0c3861
[POWERPC] spufs: Fix restore_decr_wrapped() to match CBE Handbook

Based on an original patch from Masato Noguchi
<Masato.Noguchi@jp.sony.com>.

We're currently not restoring the SPE decrementer as specified by the
CBE handbook. This change fixes our implementation to match, and makes
the function read more like the docs.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/switch.c