Skip to content
Commit acd89579 authored by Hugh Dickins's avatar Hugh Dickins Committed by Ingo Molnar
Browse files

profiling: fix broken profiling regression

Impact: fix broken /proc/profile on UP machines

Commit c309b917

 "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: default avatarHugh Dickins <hugh@veritas.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 4c098bcd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment