Skip to content
Commit 4eb5aef5 authored by Jeremy Kerr's avatar Jeremy Kerr
Browse files

[POWERPC] spufs: reacquire LS pointer in spu_process_callback



During spu_process callback, we release then acquire the SPU, but keep a
pointer to the local store memory. Since the context may have been
scheduled out during the callback, the ls pointer may become invalid.

This change reacquires the pointer to the context local store after
spu_acquire()-ing, so that it isn't invalidated by a context switch.

Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent af8b44e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment