aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-04-18 16:38:21 +1000
committerPaul Mackerras <paulus@samba.org>2007-04-24 21:31:51 +1000
commit25fc530eed1ca9ccde2a1e96d0b2060867f76bb2 (patch)
treee8f8705562939146413b79f50963acca5f64fab5 /arch/powerpc/kernel/cputable.c
parent7e8bddf56661a16b7d5945390a37cd2e9c5e45fe (diff)
downloadlinux-25fc530eed1ca9ccde2a1e96d0b2060867f76bb2.tar.gz
[POWERPC] pasemi: PA6T oprofile support
Oprofile support for PA6T, kernel side. Also rename the PA6T_SPRN.* defines to SPRN_PA6T.*. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r--arch/powerpc/kernel/cputable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index ad74fecae5072..9cb24d20f0f94 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -389,6 +389,8 @@ static struct cpu_spec cpu_specs[] = {
.pmc_type = PPC_PMC_PA6T,
.cpu_setup = __setup_cpu_pa6t,
.cpu_restore = __restore_cpu_pa6t,
+ .oprofile_cpu_type = "ppc64/pa6t",
+ .oprofile_type = PPC_OPROFILE_PA6T,
.platform = "pa6t",
},
{ /* default match */