From 074b6813735ca8bead4c91720a37a3c8aed6766f Mon Sep 17 00:00:00 2001 From: Xiao Bo Zhao Date: Tue, 24 Jul 2012 19:21:08 -0700 Subject: ARM: tegra: Add profile that disables runnable threads Add profile [0, 0, 0] which effectively disables runnable threads Bug 1003531 Change-Id: Ia45e533d5a6531b06c44c6d95f2f7cfd93cf976e Signed-off-by: Xiao Bo Zhao Reviewed-on: http://git-master/r/118219 Reviewed-by: Aleksandr Frid Reviewed-by: Bharat Nihalani Reviewed-by: Diwakar Tundlam --- arch/arm/mach-tegra/cpu-tegra3.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/arm/mach-tegra/cpu-tegra3.c b/arch/arm/mach-tegra/cpu-tegra3.c index e833680617cf..fc96dd6e14b2 100644 --- a/arch/arm/mach-tegra/cpu-tegra3.c +++ b/arch/arm/mach-tegra/cpu-tegra3.c @@ -209,10 +209,15 @@ static unsigned int rt_profile_2[] = { 5, 13, 14, UINT_MAX }; +static unsigned int rt_profile_off[] = { /* disables runable thread */ + 0, 0, 0, UINT_MAX +}; + static unsigned int *rt_profiles[] = { rt_profile_default, rt_profile_1, - rt_profile_2 + rt_profile_2, + rt_profile_off }; -- cgit v1.2.3