From: Robert Richter Date: Mon, 3 May 2010 13:00:25 +0000 (+0200) Subject: oprofile/x86: notify cpus only when daemon is running X-Git-Tag: v2.6.35-rc1~523^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3de668ee8d5b1e08da3200f926ff5a28aeb99bc2;p=pandora-kernel.git 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 Signed-off-by: Robert Richter --- Reading git-diff-tree failed