diff options
| author | Lianwei Wang <lianwei.wang@gmail.com> | 2016-06-09 23:43:28 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 06:23:24 +0200 |
| commit | d200cc995188b88832350fae508f79211a284ff7 (patch) | |
| tree | e3afa7c09da7d2c4f93f27efec9bdeda56c980d2 /tools/perf/scripts/python | |
| parent | 13e84cdbd790a9a567dcb6f206f755e20162ff43 (diff) | |
cpu/hotplug: Handle unbalanced hotplug enable/disable
[ Upstream 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
