Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0868971a authored by Tony Wu's avatar Tony Wu Committed by Ralf Baechle
Browse files

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 23d5de8e (MIPS: CM: Introduce core-other
locking functions)

Signed-off-by: default avatarTony 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2afb9745
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */