MIPS: CM: Fix compilation error when !MIPS_CM
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)
Signed-off-by Tony Wu <[email protected]>
Cc Paul Burton <[email protected]>
Cc James Hogan <[email protected]>
Cc Markos Chandras <[email protected]>
arch/mips/include/asm/mips-cm.h +1 -1
@@ -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 */