diff options
author | Xiao Bo Zhao <xiaoboz@nvidia.com> | 2012-07-24 19:21:08 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:15:11 -0700 |
commit | e38808c2c51f0d9f826288f9debaf5b124283c78 (patch) | |
tree | 7647859cdd3261427ed046cf3baebbeebdb17673 /arch/arm/mach-tegra/cpu-tegra3.c | |
parent | ca99e3ca90df3e3210503690464cf44324793ff1 (diff) |
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 <xiaoboz@nvidia.com>
Reviewed-on: http://git-master/r/118219
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Rebase-Id: Rd584494f6dbe58f4802389564202dc6e66eb18ba
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra3.c')
-rw-r--r-- | arch/arm/mach-tegra/cpu-tegra3.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 }; |