perf/x86/amd/power: Change hotplug notifier to a symmetric structure
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Wed, 13 Jul 2016 17:16:27 +0000 (17:16 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 14 Jul 2016 07:34:41 +0000 (09:34 +0200)
commit8381f6a0c02fdf457d1712cb82f2f0240f2f03cc
treea0caac4f5d7d3bad8ff8afeef6a5b473822f3c1e
parent25a77b55e74c46c79f838a97e782a45c33588ca6
perf/x86/amd/power: Change hotplug notifier to a symmetric structure

To simplify the hotplug mechanism move the starting callback to
online. There is no functional requirement that the cpumask bit has to
be set in the starting callback.

Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Cc: Borislav Petkov <bp@suse.de>
Cc: Huang Rui <ray.huang@amd.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20160713153334.944849172@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/amd/power.c