From: Arnd Bergmann Date: Thu, 28 Feb 2008 05:06:30 +0000 (+0100) Subject: [POWERPC] spufs: serialize SLB invalidation against SLB loading X-Git-Tag: v2.6.25-rc4~120^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92a1acb675058375cc508ad024c33358b42d766;p=pandora-kernel.git [POWERPC] spufs: serialize SLB invalidation against SLB loading There is a potential race between flushes of the entire SLB in the MFC and the point where new entries are being established. The problem is that we might put a ESID entry into the MFC SLB when the VSID entry has just been cleared by the global flush. This can be circumvented by holding the register_lock throughout both the flushing and the creation of SLB entries. Signed-off-by: Arnd Bergmann Signed-off-by: Jeremy Kerr --- Reading git-diff-tree failed