Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit facfddef authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Don't leave sparc_pmu_type NULL on sun4v.



Otherwise we'll crash in the sparc perf init code.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 95b68865
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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;
	}
	}
}
}