summaryrefslogtreecommitdiff
path: root/cpusched.c
AgeCommit message (Expand)AuthorFilesLines
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+180
lue='1'>ignoremode:
authorLianwei Wang <lianwei.wang@gmail.com>2016-06-09 23:43:28 -0700
committerThomas Gleixner <tglx@linutronix.de>2016-09-02 20:37:17 +0200
commit01b41159066531cc8d664362ff0cd89dd137bbfa (patch)
treeae1514bb4d6e3a845d4b5159629ac730119b4bd8
parent8017c279196ab29174bafc104ac4ebbd42c7ca7f (diff)
cpu/hotplug: Handle unbalanced hotplug enable/disable
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