commit | 11113474ffa0587bf1cf6031c0f80321b109c0c5 | [log] [tgz] |
---|---|---|
author | Olav Haugan <ohaugan@codeaurora.org> | Thu Nov 03 15:10:57 2016 -0700 |
committer | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | Tue Feb 07 14:51:14 2017 -0800 |
tree | 6cf6129326e5c58599cc10a67b85d2ac8675d123 | |
parent | bf6b7fa6455b781c2d86bb4160056f72a9893479 [diff] |
sched: Ensure watchdog is enabled before disabling There is a race between watchdog being enabled by hotplug and core isolation disabling the watchdog. When a CPU is hotplugged in and the hotplug lock has been released the watchdog thread might not have run yet to enable the watchdog. We have to wait for the watchdog to be enabled before proceeding. Change-Id: I88f73603b6d389a46f8e819d9b490091d5ba4fe9 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>