[PATCH] oprofile PVR 970MP
Jake Moilanen
moilanen at austin.ibm.com
Thu Aug 25 06:22:12 EST 2005
Here's the 970MP's PVR entry for oprofile.
Signed-off-by: Jake Moilanen <moilanen at austin.ibm.com>
Index: 2.6-git/arch/ppc64/oprofile/common.c
===================================================================
--- 2.6-git.orig/arch/ppc64/oprofile/common.c 2005-08-22 12:25:17.000000000 -0500
+++ 2.6-git/arch/ppc64/oprofile/common.c 2005-08-24 14:58:03.000000000 -0500
@@ -153,6 +153,7 @@
case PV_970:
case PV_970FX:
+ case PV_970MP:
model = &op_model_power4;
model->num_counters = 8;
ops->cpu_type = "ppc64/970";
Index: 2.6-git/include/asm-ppc64/processor.h
===================================================================
--- 2.6-git.orig/include/asm-ppc64/processor.h 2005-08-22 12:25:22.000000000 -0500
+++ 2.6-git/include/asm-ppc64/processor.h 2005-08-24 14:59:25.000000000 -0500
@@ -268,6 +268,7 @@
#define PV_970FX 0x003C
#define PV_630 0x0040
#define PV_630p 0x0041
+#define PV_970MP 0x0044
#define PV_BE 0x0070
/* Platforms supported by PPC64 */
More information about the Linuxppc64-dev
mailing list