Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42ea2119 authored by Olav Haugan's avatar Olav Haugan Committed by Pavankumar Kondeti
Browse files

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: default avatarOlav Haugan <ohaugan@codeaurora.org>
[pkondeti@codeaurora.org: resolved minor merge conflicts. Ignored
changes in include/linux/sched.h since they are already present
in include/linux/nmi.h]
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 2e7ac4ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment