All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: CM: Fix compilation error when !MIPS_CM
@ 2015-12-04 11:40 Tony Wu
  0 siblings, 0 replies; only message in thread
From: Tony Wu @ 2015-12-04 11:40 UTC (permalink / raw)
  To: Paul Burton, ralf; +Cc: James Hogan, Markos Chandras, linux-mips

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: Markos Chandras <markos.chandras@imgtec.com>

diff --git a/arch/mips/include/asm/mips-cm.h b/arch/mips/include/asm/mips-cm.h
index 6516e9d..0dabede 100644
--- a/arch/mips/include/asm/mips-cm.h
+++ b/arch/mips/include/asm/mips-cm.h
@@ -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 */

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-04 11:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-04 11:40 [PATCH] MIPS: CM: Fix compilation error when !MIPS_CM Tony Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.