Skip to contentSkip to conversation

ppc: add ppc750 CL as supported by oprofile

PATCH In review Andrew Morton 2 participants 2 messages Sep 25, 2009 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc: add ppc750 CL as supported by oprofile

Begin forwarded message:

Date: Wed, 16 Sep 2009 11:58:15 +0300
From: Dragos Tatulea <[email protected]>
To: [email protected], [email protected]
Cc: Octavian Purdila <[email protected]>
Subject: [PATCH] ppc: add ppc750 CL as supported by oprofile

Hi,

Here's a patch that adds the ppc750 CL cpu as supported by oprofile.

-- Dragos

---
 arch/powerpc/kernel/cputable.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/powerpc/kernel/cputable.c +2 -0
index 0b9c913..03c862b 100644
@@ -711,6 +711,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
 		.cpu_setup		= __setup_cpu_750,
 		.machine_check		= machine_check_generic,
 		.platform		= "ppc750",
+		.oprofile_cpu_type      = "ppc/750",
+		.oprofile_type		= PPC_OPROFILE_G4,
 	},
 	{	/* 745/755 */
 		.pvr_mask		= 0xfffff000,
#1 lore raw
Quoted 2 lines · Andrew Morton

Begin forwarded message:

Thanks. I'll pick it up.

Cheers,
Ben.

Quoted 40 lines

Date: Wed, 16 Sep 009 11:58:15 +0300
From: Dragos Tatulea <[email protected]>
To: [email protected], [email protected]
Cc: Octavian Purdila <[email protected]>
Subject: [PATCH] ppc: add ppc750 CL as supported by oprofile

Hi,

Here's a patch that adds the ppc750 CL cpu as supported by oprofile.

-- Dragos

---
 arch/powerpc/kernel/cputable.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/powerpc/kernel/cputable.c +2 -1
index 0b9c913..03c862b 100644
@@ -711,6 +711,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
 		.cpu_setup		= __setup_cpu_750,
 		.machine_check		= machine_check_generic,
 		.platform		= "ppc750",
+		.oprofile_cpu_type      = "ppc/750",
+		.oprofile_type		= PPC_OPROFILE_G4,
 	},
 	{	/* 745/755 */
 		.pvr_mask		= 0xfffff000,
--

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev