powerpc: Fix typo "CONFIG_ICSWX_PID"
authorPaul Bolle <pebolle@tiscali.nl>
Fri, 29 Mar 2013 11:02:14 +0000 (11:02 +0000)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 18 Apr 2013 03:03:54 +0000 (13:03 +1000)
Untested. As this typo was introduced in v3.3, with commit
9d670280908013004f173b2b86414d9b6918511b ("powerpc: Split ICSWX ACOP and
PID processing"), which actually added PPC_ICSWX_PID, this surely needs
testing.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
arch/powerpc/mm/icswx.c

index 8cdbd8634a58d4fa63df9623c2ec547927ffe404..915412e4d5ba58d3b898afe502d89273b6945aad 100644 (file)
@@ -67,7 +67,7 @@
 
 void switch_cop(struct mm_struct *next)
 {
-#ifdef CONFIG_ICSWX_PID
+#ifdef CONFIG_PPC_ICSWX_PID
        mtspr(SPRN_PID, next->context.cop_pid);
 #endif
        mtspr(SPRN_ACOP, next->context.acop);