aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/bL_switcher.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2012-10-26 02:36:17 -0400
committerNicolas Pitre <nicolas.pitre@linaro.org>2013-07-30 09:02:14 -0400
commit71ce1deeff8f9341ae3b21983e9bdde28e8c96fe (patch)
treeb4beef1523de4e5f4fb7e6b13a553e2ed3bc9ad1 /arch/arm/include/asm/bL_switcher.h
parentARM: bL_switcher: add clockevent save/restore support (diff)
downloadlinux-dev-71ce1deeff8f9341ae3b21983e9bdde28e8c96fe.tar.xz
linux-dev-71ce1deeff8f9341ae3b21983e9bdde28e8c96fe.zip
ARM: bL_switcher: move to dedicated threads rather than workqueues
The workqueues are problematic as they may be contended. They can't be scheduled with top priority either. Also the optimization in bL_switch_request() to skip the workqueue entirely when the target CPU and the calling CPU were the same didn't allow for bL_switch_request() to be called from atomic context, as might be the case for some cpufreq drivers. Let's move to dedicated kthreads instead. Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/bL_switcher.h')
-rw-r--r--arch/arm/include/asm/bL_switcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/bL_switcher.h b/arch/arm/include/asm/bL_switcher.h
index 72efe3f349b9..e0c0bba70bbf 100644
--- a/arch/arm/include/asm/bL_switcher.h
+++ b/arch/arm/include/asm/bL_switcher.h
@@ -12,6 +12,6 @@
#ifndef ASM_BL_SWITCHER_H
#define ASM_BL_SWITCHER_H
-void bL_switch_request(unsigned int cpu, unsigned int new_cluster_id);
+int bL_switch_request(unsigned int cpu, unsigned int new_cluster_id);
#endif