summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pmc.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-02-04 18:27:55 -0600
committerKumar Gala <galak@kernel.crashing.org>2008-02-05 23:34:14 -0600
commit39aef685af431c032ffd2763ec8782b13c32520c (patch)
tree2e6c8761ec9d62521418f6b0b2cf05f8e269407d /arch/powerpc/kernel/pmc.c
parent0367aad1ad5f8085ed15e9e30604f50108a1ea06 (diff)
downloadtalos-op-linux-39aef685af431c032ffd2763ec8782b13c32520c.tar.gz
talos-op-linux-39aef685af431c032ffd2763ec8782b13c32520c.zip
[POWERPC] Made FSL Book-E PMC support more generic
Some of the more recent e300 cores have the same performance monitor implementation as the e500. e300 isn't book-e, so the name isn't really appropriate. In preparation for e300 support, rename a bunch of fsl_booke things to say fsl_emb (Freescale Embedded Performance Monitors). Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/pmc.c')
-rw-r--r--arch/powerpc/kernel/pmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pmc.c b/arch/powerpc/kernel/pmc.c
index ea04e0ab3f2f..0516e2d3e02e 100644
--- a/arch/powerpc/kernel/pmc.c
+++ b/arch/powerpc/kernel/pmc.c
@@ -26,7 +26,7 @@
static void dummy_perf(struct pt_regs *regs)
{
-#if defined(CONFIG_FSL_BOOKE) && !defined(CONFIG_E200)
+#if defined(CONFIG_FSL_EMB_PERFMON)
mtpmr(PMRN_PMGC0, mfpmr(PMRN_PMGC0) & ~PMGC0_PMIE);
#elif defined(CONFIG_PPC64) || defined(CONFIG_6xx)
if (cur_cpu_spec->pmc_type == PPC_PMC_IBM)
OpenPOWER on IntegriCloud