[PATCH] arm: Fix build error with context tracking calls

From
Russell King - ARM Linux <hidden>
Date
2013-09-14 14:32:13
Also in
linux-omap
Reply to
Frederic Weisbecker, 2013-09-13
On Fri, Sep 13, 2013 at 07:03:34PM +0200, Frederic Weisbecker wrote:
quoted hunk ↗ jump to hunk
diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c
index 247091b..859c8df 100644
--- a/kernel/context_tracking.c
+++ b/kernel/context_tracking.c
@@ -51,6 +51,15 @@ void context_tracking_user_enter(void)
 	unsigned long flags;
 
 	/*
+	 * Repeat the user_enter() check here because some archs may be calling
+	 * this from asm and if no CPU needs context tracking, they shouldn't
+	 * go further. We can remove that check here once these archs support the static key
+	 * check.
The only (minor) comment on this is that the above would fail checkpatch,
but that's not a good enough reason to respin it if you've already applied
it IMHO.
Thread (5 messages) 5 messages, 3 authors, last reply 2013-09-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help