From: Ingo Molnar Date: Mon, 4 May 2009 17:13:30 +0000 (+0200) Subject: perf_counter: initialize the per-cpu context earlier X-Git-Tag: v2.6.31-rc1~383^2~304 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d905bca23aca5c86a10ee101bcd3b1abbd40b25;p=pandora-kernel.git perf_counter: initialize the per-cpu context earlier percpu scheduling for perfcounters wants to take the context lock, but that lock first needs to be initialized. Currently it is an early_initcall() - but that is too late, the task tick runs much sooner than that. Call it explicitly from the scheduler init sequence instead. [ Impact: fix access-before-init crash ] LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed