summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Bo Zhao <xiaoboz@nvidia.com>2012-07-24 19:21:08 -0700
committerSimone Willett <swillett@nvidia.com>2012-07-30 20:46:45 -0700
commit074b6813735ca8bead4c91720a37a3c8aed6766f (patch)
treeee2ed3f271d7d5b70b45b37e13d006abd313045a
parent4bf13aec557cea6d36247b1a561321066fc9ed76 (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>
-rw-r--r--arch/arm/mach-tegra/cpu-tegra3.c7
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 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
};