diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-15 15:04:07 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-15 15:04:07 -0800 |
commit | b62818e5ff78cab4daf04fc0c12f86475dbc4b69 (patch) | |
tree | 6fa6dbca48e203014da4a598ab442abc3f252739 /arch/sparc/kernel/pcr.c | |
parent | 711c71a092ccedf5e24cff25e577bfa0148fce66 (diff) |
sparc64: Fix NMI startup bug which also breaks perf.
Doing NMI startup as an early initcall doesn't work because we need
to have SMP started up by then.
So we'd only NMI startup one cpu, which causes perf PMU grab to
BUG because the nmi_active count isn't what it's supposed to be.
This also points out that we don't have proper CPU up/down notifiers
for the NMI code which will need to be fixed at some point.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/pcr.c')
-rw-r--r-- | arch/sparc/kernel/pcr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/pcr.c b/arch/sparc/kernel/pcr.c index ae96cf52a955..7c2ced612b8f 100644 --- a/arch/sparc/kernel/pcr.c +++ b/arch/sparc/kernel/pcr.c @@ -167,5 +167,3 @@ out_unregister: unregister_perf_hsvc(); return err; } - -early_initcall(pcr_arch_init); |