]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
[PATCH] oprofile PVR 970MP
authorJake Moilanen <moilanen@austin.ibm.com>
Wed, 24 Aug 2005 20:22:12 +0000 (15:22 -0500)
committerPaul Mackerras <paulus@samba.org>
Tue, 30 Aug 2005 03:38:19 +0000 (13:38 +1000)
Here's the 970MP's PVR (processor version register) entry for oprofile.

Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/oprofile/common.c
include/asm-ppc64/processor.h

index b28bfda23d944b4b275ef9e0de4c2db6a891a082..4acd1a424933d7c08afa1bf7908ef1ddc13104b1 100644 (file)
@@ -153,6 +153,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
 
                case PV_970:
                case PV_970FX:
+               case PV_970MP:
                        model = &op_model_power4;
                        model->num_counters = 8;
                        ops->cpu_type = "ppc64/970";
index 50b14c0ddb870974755e3ec49218f097c08eb755..7bd4796f1236c5efe6f7c881ab0aa18a141a1fd8 100644 (file)
 #define PV_970FX       0x003C
 #define        PV_630          0x0040
 #define        PV_630p         0x0041
+#define        PV_970MP        0x0044
 #define        PV_BE           0x0070
 
 /* Platforms supported by PPC64 */