projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b6886
)
sparc: Don't leave sparc_pmu_type NULL on sun4v.
author
David S. Miller
<davem@davemloft.net>
Thu, 28 Jul 2011 03:25:57 +0000
(20:25 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 28 Jul 2011 03:25:57 +0000
(20:25 -0700)
Otherwise we'll crash in the sparc perf init code.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/cpu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/cpu.c
b/arch/sparc/kernel/cpu.c
index 138dbbc8dc8475d477119420fec89d582577006f..70f035c86c03890a478dd67597fac8a3b42572bc 100644
(file)
--- a/
arch/sparc/kernel/cpu.c
+++ b/
arch/sparc/kernel/cpu.c
@@
-479,6
+479,7
@@
static void __init sun4v_cpu_probe(void)
prom_cpu_compatible);
sparc_cpu_type = "Unknown SUN4V CPU";
sparc_fpu_type = "Unknown SUN4V FPU";
+ sparc_pmu_type = "Unknown SUN4V PMU";
break;
}
}