powerpc: Fix ppc32 mm_struct CPU tracking in SMP
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 27 Nov 2008 20:05:05 +0000 (20:05 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Dec 2008 09:46:35 +0000 (20:46 +1100)
commit4ee5f55175a85fc179c93f00dd7f6a99c896f4d6
treebd85e5ec3a21c6ca139e930b5215e3c083f4b170
parent1b98326b91eb9eea346945779e1f245aa66b17ce
powerpc: Fix ppc32 mm_struct CPU tracking in SMP

The 32-bit hash code didn't need it so far so we don't update
mm->cpu_vm_mask on context switch.  This however will break when we
merge the RCU based page table freeing patch and other upcoming 32-bit
embedded SMP work, so this adds the update.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/mmu_context.h