Commit 5e06b348 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: Report cpus > 32 in proc/cpuinfo correctly

parent df6b4129
...@@ -256,7 +256,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) ...@@ -256,7 +256,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
return 0; return 0;
} }
if (!(cpu_online_map & (1<<cpu_id))) if (!(cpu_online_map & (1UL << cpu_id)))
return 0; return 0;
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
......
Markdown is supported
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