sched: remove redundant update_runtime notifier
authorNeil Zhang <zhangwm@marvell.com>
Fri, 28 Dec 2012 10:00:26 +0000 (10:00 +0000)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:09:55 +0000 (13:09 -0700)
commit152abef94a0f81e3bb0eaf3cf633cf63aff028ee
tree5a1a660d4692819349ba05963c64c32ecfbe7817
parentd30417d80e823c25eccf1aff34c37f1ac27b19d4
sched: remove redundant update_runtime notifier

migration_call() will do all the things that update_runtime() does.
So it seems update_runtime() is a redundant notifier, remove it.

Furthermore, there is potential risk that the current code will catch
BUG_ON at line 687 of rt.c when do cpu hotplug while there are realtime
threads running because of enable runtime twice.

Change-Id: I0fdad8d5a1cebb845d3f308b205dbd6517c3e4de
Cc: bitbucket@online.de
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Reviewed-on: http://git-master/r/215596
(cherry picked from commit 8f646de983f24361814d9a6ca679845fb2265807)
Reviewed-on: http://git-master/r/223068
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Paul Walmsley <pwalmsley@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit
kernel/sched/core.c
kernel/sched/rt.c
kernel/sched/sched.h