Browse Source

MIPS: CM: Fix compilation error when !MIPS_CM

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>
Tony Wu 9 years ago
parent
commit
0868971a8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/mips/include/asm/mips-cm.h

+ 1 - 1
arch/mips/include/asm/mips-cm.h

@@ -509,7 +509,7 @@ extern void mips_cm_unlock_other(void);
 
 
 #else /* !CONFIG_MIPS_CM */
 #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) { }
 static inline void mips_cm_unlock_other(void) { }
 
 
 #endif /* !CONFIG_MIPS_CM */
 #endif /* !CONFIG_MIPS_CM */