Browse Source

powerpc/oprofile: Add ppc750 CL as supported by oprofile

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

Signed-off-by: Dragos Tatulea <dtatulea@ixiacom.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Dragos Tatulea 15 years ago
parent
commit
04f5653477
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/powerpc/kernel/cputable.c

+ 2 - 0
arch/powerpc/kernel/cputable.c

@@ -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,