dect
/
linux-2.6
Archived
13
0
Fork 0

perfcounters: fix lapic initialization

Fix non-working NMI sampling in certain bootup scenarios.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Ingo Molnar 2008-12-14 21:58:46 +01:00
parent 088e2852c8
commit 75f224cf77
1 changed files with 2 additions and 2 deletions

View File

@ -557,10 +557,10 @@ void __init init_hw_perf_counters(void)
printk(KERN_INFO "... bit_width: %d\n", eax.split.bit_width);
printk(KERN_INFO "... mask_length: %d\n", eax.split.mask_length);
perf_counters_initialized = true;
perf_counters_lapic_init(0);
register_die_notifier(&perf_counter_nmi_notifier);
perf_counters_initialized = true;
}
static void x86_perf_counter_read(struct perf_counter *counter)