commit | 6bfccd099c2841e1c42530f1b6d2553bfa13be3a | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Thu Jul 09 19:23:50 2009 +0200 |
committer | Robert Richter <robert.richter@amd.com> | Mon Jul 20 16:43:18 2009 +0200 |
tree | 8452ce819376efe5e1d755bb548a886ea09b6219 | |
parent | 82a225283fb0d9438549595d9e6f3ecc42b42ad6 [diff] |
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>