MIPS: CM: Fix compilation error when !MIPS_CM
authorTony Wu <tung7970@gmail.com>
Fri, 4 Dec 2015 11:40:00 +0000 (19:40 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 21:04:53 +0000 (23:04 +0200)
Fix mips_cm_lock_other compilation error when MIPS_CM is not selected.
This was introduced in commit 23d5de8efb9a (MIPS: CM: Introduce core-other
locking functions)

Signed-off-by: Tony Wu <tung7970@gmail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11698/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-cm.h

index 3fea29e50c46423042bdbc5daac77ba6a9f86301..9411a4c0bdadf47c78beb30412b8c66df8f51ca5 100644 (file)
@@ -509,7 +509,7 @@ extern void mips_cm_unlock_other(void);
 
 #else /* !CONFIG_MIPS_CM */
 
-static inline void mips_cm_lock_other(unsigned int core) { }
+static inline void mips_cm_lock_other(unsigned int core, unsigned int vp) { }
 static inline void mips_cm_unlock_other(void) { }
 
 #endif /* !CONFIG_MIPS_CM */