From: Robert Richter Date: Thu, 9 Jul 2009 17:23:50 +0000 (+0200) Subject: x86/oprofile: Fix initialization of switch_index X-Git-Tag: v2.6.32-rc1~721^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bfccd099c2841e1c42530f1b6d2553bfa13be3a;p=pandora-kernel.git x86/oprofile: Fix initialization of switch_index Variable switch_index must be initialized for each cpu. This patch fixes the initialization by moving it to the per-cpu init function nmi_cpu_setup(). Signed-off-by: Robert Richter --- Reading git-diff-tree failed