Skip to contentSkip to conversation

MIPS: CM: Fix compilation error when !MIPS_CM

PATCH New Tony Wu 1 participant 1 message Dec 4, 2015 MIPS

lore
Share & tools
lore

Tony Wu

author
#0 lore raw

PATCH 1/1 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)

Cc Paul Burton <[email protected]>
Cc James Hogan <[email protected]>
Cc Markos Chandras <[email protected]>
arch/mips/include/asm/mips-cm.h +1 -1
index 6516e9d..0dabede 100644
@@ -501,7 +501,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 */