[S390] hwsampler: allow cpu hotplug
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 May 2011 07:48:26 +0000 (09:48 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 26 May 2011 07:48:25 +0000 (09:48 +0200)
commitb07c9015efcde71ed929ce5ded0268630bb1c95e
tree1f1f0fadffb191861c6df08b20877efcf3952ab8
parent7683f7444875c822f48f03a9f9c8b1b1e98b2ef0
[S390] hwsampler: allow cpu hotplug

The hardware sample cpu hotplug notifier always returns NOTIFY_BAD.
That will prevent cpu hotplug if the machine is enabled for hardware
sampling even if it is not used. Fix the cpu hotplug notifier and
allow cpu hotplug if hardware sampling is unused.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/oprofile/hwsampler.c