Commit 29ad8f6f authored by David S. Miller's avatar David S. Miller Committed by Greg Kroah-Hartman

sparc: Don't leave sparc_pmu_type NULL on sun4v.

[ Upstream commit facfddef ]

Otherwise we'll crash in the sparc perf init code.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fb07bb91
...@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment