]> git.baikalelectronics.ru Git - kernel.git/commit
profiling: fix broken profiling regression
authorHugh Dickins <hugh@veritas.com>
Mon, 9 Feb 2009 19:20:50 +0000 (19:20 +0000)
committerIngo Molnar <mingo@elte.hu>
Mon, 9 Feb 2009 23:50:37 +0000 (00:50 +0100)
commit7169ab1f28ce1ad0bf64601e7969d424924c48b1
treee1f704ec416e5ef735cadcf40392a2398c319e3f
parent6707a22468af6f89d34bf7848e4bdbdbab1e24ae
profiling: fix broken profiling regression

Impact: fix broken /proc/profile on UP machines

Commit 2c24da545b2f47af1d61e9e9693dcde665de657d "cpumask: convert
kernel/profile.c" broke profiling.  prof_cpu_mask was previously
initialized to CPU_MASK_ALL, but left uninitialized in that commit.
We need to copy cpu_possible_mask (cpu_online_mask is not enough).

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/profile.c