提交 facfddef 编写于 作者: D David S. Miller

sparc: Don't leave sparc_pmu_type NULL on sun4v.

Otherwise we'll crash in the sparc perf init code.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 95b68865
...@@ -479,6 +479,7 @@ static void __init sun4v_cpu_probe(void) ...@@ -479,6 +479,7 @@ static void __init sun4v_cpu_probe(void)
prom_cpu_compatible); prom_cpu_compatible);
sparc_cpu_type = "Unknown SUN4V CPU"; sparc_cpu_type = "Unknown SUN4V CPU";
sparc_fpu_type = "Unknown SUN4V FPU"; sparc_fpu_type = "Unknown SUN4V FPU";
sparc_pmu_type = "Unknown SUN4V PMU";
break; break;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册