diff options
author | Tony Wu <tung7970@gmail.com> | 2015-12-04 06:40:00 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 17:04:53 -0400 |
commit | 0868971a8dad52e726711a2a4b161ace9ed011fa (patch) | |
tree | 737e071bfc28af9b7654e2b4d91866754d5d128e | |
parent | 2afb97454347f641dd2435a3956ba12f816fb1df (diff) |
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>
-rw-r--r-- | arch/mips/include/asm/mips-cm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mips-cm.h b/arch/mips/include/asm/mips-cm.h index 3fea29e50c46..9411a4c0bdad 100644 --- a/arch/mips/include/asm/mips-cm.h +++ b/arch/mips/include/asm/mips-cm.h | |||
@@ -509,7 +509,7 @@ extern void mips_cm_unlock_other(void); | |||
509 | 509 | ||
510 | #else /* !CONFIG_MIPS_CM */ | 510 | #else /* !CONFIG_MIPS_CM */ |
511 | 511 | ||
512 | static inline void mips_cm_lock_other(unsigned int core) { } | 512 | static inline void mips_cm_lock_other(unsigned int core, unsigned int vp) { } |
513 | static inline void mips_cm_unlock_other(void) { } | 513 | static inline void mips_cm_unlock_other(void) { } |
514 | 514 | ||
515 | #endif /* !CONFIG_MIPS_CM */ | 515 | #endif /* !CONFIG_MIPS_CM */ |