From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ixro-ex1.ixiacom.com (unknown [212.146.94.66]) by ozlabs.org (Postfix) with ESMTP id AA57DDE4B1 for ; Wed, 7 Jan 2009 00:13:13 +1100 (EST) From: Octavian Purdila To: linuxppc-dev@ozlabs.org Subject: [PATCH 2/2] powerpc: oprofile: enable support for ppc750 processors Date: Tue, 6 Jan 2009 14:55:35 +0200 Message-Id: <1231246535-13151-3-git-send-email-opurdila@ixiacom.com> In-Reply-To: <1231246535-13151-1-git-send-email-opurdila@ixiacom.com> References: <1231246535-13151-1-git-send-email-opurdila@ixiacom.com> Cc: Octavian Purdila List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Signed-off-by: Octavian Purdila --- arch/powerpc/kernel/cputable.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 923f87a..4e20cfb 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -726,6 +726,8 @@ static struct cpu_spec __initdata cpu_specs[] = { .cpu_setup = __setup_cpu_750, .machine_check = machine_check_generic, .platform = "ppc750", + .oprofile_cpu_type = "ppc/7450", + .oprofile_type = PPC_OPROFILE_G4, }, { /* 750FX rev 2.0 must disable HID0[DPM] */ .pvr_mask = 0xffffffff, @@ -741,6 +743,8 @@ static struct cpu_spec __initdata cpu_specs[] = { .cpu_setup = __setup_cpu_750, .machine_check = machine_check_generic, .platform = "ppc750", + .oprofile_cpu_type = "ppc/7450", + .oprofile_type = PPC_OPROFILE_G4, }, { /* 750FX (All revs except 2.0) */ .pvr_mask = 0xffff0000, @@ -756,6 +760,8 @@ static struct cpu_spec __initdata cpu_specs[] = { .cpu_setup = __setup_cpu_750fx, .machine_check = machine_check_generic, .platform = "ppc750", + .oprofile_cpu_type = "ppc/7450", + .oprofile_type = PPC_OPROFILE_G4, }, { /* 750GX */ .pvr_mask = 0xffff0000, -- 1.5.6.5