From: Robert Richter Date: Wed, 5 May 2010 15:47:17 +0000 (+0200) Subject: oprofile/x86: make AMD IBS hotplug capable X-Git-Tag: v2.6.35-rc1~523^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bae663bc635e2726c7c5228dbf0f2051e16d1c81;p=pandora-kernel.git oprofile/x86: make AMD IBS hotplug capable Current IBS code is not hotplug capable. An offline cpu might not be initialized or deinitialized properly. This patch fixes this by removing on_each_cpu() functions. The IBS init/deinit code is executed in the per-cpu functions model->setup_ctrs() and model->cpu_down() which are also called by hotplug notifiers. model->cpu_down() replaces model->exit() that became obsolete. Cc: Andi Kleen Signed-off-by: Robert Richter --- Reading git-diff-tree failed