aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorOctavian Purdila <opurdila@ixiacom.com>2009-03-03 21:02:42 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-03-11 02:11:32 -0400
commit7c9583a4db7e3009843aaae0567d299e2837c5ae (patch)
treebc713e6d0ac9e2d99ddc6054dc9ad3d8ab98cfda /arch/powerpc/kernel/cputable.c
parent2fb4423aa38b598fa688bbd53a835bb7628c445b (diff)
powerpc/oprofile: Enable support for ppc750 processors
This patch enables oprofile for all 3 FX variants and GX variant of the 750 processor. Signed-off-by: Octavian Purdila <opurdila@ixiacom.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r--arch/powerpc/kernel/cputable.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 638838691b20..ccea2431ddf8 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -731,6 +731,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
731 .cpu_setup = __setup_cpu_750, 731 .cpu_setup = __setup_cpu_750,
732 .machine_check = machine_check_generic, 732 .machine_check = machine_check_generic,
733 .platform = "ppc750", 733 .platform = "ppc750",
734 .oprofile_cpu_type = "ppc/750",
735 .oprofile_type = PPC_OPROFILE_G4,
734 }, 736 },
735 { /* 750FX rev 2.0 must disable HID0[DPM] */ 737 { /* 750FX rev 2.0 must disable HID0[DPM] */
736 .pvr_mask = 0xffffffff, 738 .pvr_mask = 0xffffffff,
@@ -746,6 +748,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
746 .cpu_setup = __setup_cpu_750, 748 .cpu_setup = __setup_cpu_750,
747 .machine_check = machine_check_generic, 749 .machine_check = machine_check_generic,
748 .platform = "ppc750", 750 .platform = "ppc750",
751 .oprofile_cpu_type = "ppc/750",
752 .oprofile_type = PPC_OPROFILE_G4,
749 }, 753 },
750 { /* 750FX (All revs except 2.0) */ 754 { /* 750FX (All revs except 2.0) */
751 .pvr_mask = 0xffff0000, 755 .pvr_mask = 0xffff0000,
@@ -761,6 +765,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
761 .cpu_setup = __setup_cpu_750fx, 765 .cpu_setup = __setup_cpu_750fx,
762 .machine_check = machine_check_generic, 766 .machine_check = machine_check_generic,
763 .platform = "ppc750", 767 .platform = "ppc750",
768 .oprofile_cpu_type = "ppc/750",
769 .oprofile_type = PPC_OPROFILE_G4,
764 }, 770 },
765 { /* 750GX */ 771 { /* 750GX */
766 .pvr_mask = 0xffff0000, 772 .pvr_mask = 0xffff0000,
@@ -776,6 +782,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
776 .cpu_setup = __setup_cpu_750fx, 782 .cpu_setup = __setup_cpu_750fx,
777 .machine_check = machine_check_generic, 783 .machine_check = machine_check_generic,
778 .platform = "ppc750", 784 .platform = "ppc750",
785 .oprofile_cpu_type = "ppc/750",
786 .oprofile_type = PPC_OPROFILE_G4,
779 }, 787 },
780 { /* 740/750 (L2CR bit need fixup for 740) */ 788 { /* 740/750 (L2CR bit need fixup for 740) */
781 .pvr_mask = 0xffff0000, 789 .pvr_mask = 0xffff0000,