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 <robert.richter@amd.com>
Showing
Please register or sign in to comment