Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6bfccd09 authored by Robert Richter's avatar Robert Richter
Browse files

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: default avatarRobert Richter <robert.richter@amd.com>
parent 82a22528
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment