summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-05-03 15:00:25 +0200
committerRobert Richter <robert.richter@amd.com>2010-05-06 13:15:39 +0200
commit3de668ee8d5b1e08da3200f926ff5a28aeb99bc2 (patch)
tree3fd1aa6337b39ccd8fc414cbbba3013180392c84 /crypto
parentd30d64c6da3ec7a0708bfffa7e05752d5b9a1093 (diff)
downloadlinux-stable-3de668ee8d5b1e08da3200f926ff5a28aeb99bc2.tar.gz
linux-stable-3de668ee8d5b1e08da3200f926ff5a28aeb99bc2.tar.bz2
linux-stable-3de668ee8d5b1e08da3200f926ff5a28aeb99bc2.zip
oprofile/x86: notify cpus only when daemon is running
This patch moves the cpu notifier registration from nmi_init() to nmi_setup(). The corresponding unregistration function is now in nmi_shutdown(). Thus, the hotplug code is only active, if the oprofile daemon is running. Cc: Andi Kleen <andi@firstfloor.org> Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions