Patchwork powerpc: Fix typo "CONFIG_ICSWX_PID"

login
register
mail settings
Submitter Paul Bolle
Date March 29, 2013, 9:02 p.m.
Message ID <1364590934.1345.92.camel@x61.thuisdomein>
Download mbox | patch
Permalink /patch/232491/
State Accepted, archived
Commit aac3d0c8755b136705bbf36f2c70bd026605ee0d
Delegated to: Michael Ellerman
Headers show

Comments

Paul Bolle - March 29, 2013, 9:02 p.m.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
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.

 arch/powerpc/mm/icswx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/arch/powerpc/mm/icswx.c b/arch/powerpc/mm/icswx.c
index 8cdbd86..915412e 100644
--- a/arch/powerpc/mm/icswx.c
+++ b/arch/powerpc/mm/icswx.c
@@ -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);