tree d0ea2c3cb29383f7387da3c7caf95ee7091ec114
parent 7fea82ab1a74030f79a2adfac1af3d93b8638fc3
author Jake Moilanen <[EMAIL PROTECTED]> Thu, 25 Aug 2005 01:22:12 -0500
committer Paul Mackerras <[EMAIL PROTECTED]> Tue, 30 Aug 2005 13:38:19 +1000

[PATCH] oprofile PVR 970MP

Here's the 970MP's PVR (processor version register) entry for oprofile.

Signed-off-by: Jake Moilanen <[EMAIL PROTECTED]>
Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>

 arch/ppc64/oprofile/common.c  |    1 +
 include/asm-ppc64/processor.h |    1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/ppc64/oprofile/common.c b/arch/ppc64/oprofile/common.c
--- a/arch/ppc64/oprofile/common.c
+++ b/arch/ppc64/oprofile/common.c
@@ -153,6 +153,7 @@ int __init oprofile_arch_init(struct opr
 
                case PV_970:
                case PV_970FX:
+               case PV_970MP:
                        model = &op_model_power4;
                        model->num_counters = 8;
                        ops->cpu_type = "ppc64/970";
diff --git a/include/asm-ppc64/processor.h b/include/asm-ppc64/processor.h
--- a/include/asm-ppc64/processor.h
+++ b/include/asm-ppc64/processor.h
@@ -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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to