From e38808c2c51f0d9f826288f9debaf5b124283c78 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 Rebase-Id: Rd584494f6dbe58f4802389564202dc6e66eb18ba --- arch/arm/mach-tegra/cpu-tegra3.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'arch/arm/mach-tegra/cpu-tegra3.c') diff --git a/arch/arm/mach-tegra/cpu-tegra3.c b/arch/arm/mach-tegra/cpu-tegra3.c index 76662ce59396..2015ce39d4dc 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