diff options
| author | Lianwei Wang <lianwei.wang@gmail.com> | 2016-06-09 23:43:28 -0700 |
|---|---|---|
| committer | Amit Pundir <amit.pundir@linaro.org> | 2016-10-25 21:53:04 +0800 |
| commit | 9d37de65aae1e8783547445f17a1d2b72b94e3ce (patch) | |
| tree | 543dddc49ae113e5a8c518fcf26566de75411021 /include/linux/psci.h | |
| parent | 279ddc1c9c221806bdb853d35269d24efd77aa70 (diff) | |
UPSTREAM: cpu/hotplug: Handle unbalanced hotplug enable/disable
(cherry picked from commit 01b41159066531cc8d664362ff0cd89dd137bbfa)
When cpu_hotplug_enable() is called unbalanced w/o a preceeding
cpu_hotplug_disable() the code emits a warning, but happily decrements the
disabled counter. This causes the next operations to malfunction.
Prevent the decrement and just emit a warning.
Signed-off-by: Lianwei Wang <lianwei.wang@gmail.com>
Cc: peterz@infradead.org
Cc: linux-pm@vger.kernel.org
Cc: oleg@redhat.com
Link: http://lkml.kernel.org/r/1465541008-12476-1-git-send-email-lianwei.wang@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/psci.h')
0 files changed, 0 insertions, 0 deletions
