diff options
author | Jake Moilanen <moilanen@austin.ibm.com> | 2005-08-24 16:22:12 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-08-29 23:38:19 -0400 |
commit | 04ed65190a5d1562220dd3a7fc9eac2402c7104c (patch) | |
tree | d0ea2c3cb29383f7387da3c7caf95ee7091ec114 | |
parent | 7fea82ab1a74030f79a2adfac1af3d93b8638fc3 (diff) |
[PATCH] oprofile PVR 970MP
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>
-rw-r--r-- | arch/ppc64/oprofile/common.c | 1 | ||||
-rw-r--r-- | include/asm-ppc64/processor.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/ppc64/oprofile/common.c b/arch/ppc64/oprofile/common.c index b28bfda23d94..4acd1a424933 100644 --- a/arch/ppc64/oprofile/common.c +++ b/arch/ppc64/oprofile/common.c | |||
@@ -153,6 +153,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) | |||
153 | 153 | ||
154 | case PV_970: | 154 | case PV_970: |
155 | case PV_970FX: | 155 | case PV_970FX: |
156 | case PV_970MP: | ||
156 | model = &op_model_power4; | 157 | model = &op_model_power4; |
157 | model->num_counters = 8; | 158 | model->num_counters = 8; |
158 | ops->cpu_type = "ppc64/970"; | 159 | ops->cpu_type = "ppc64/970"; |
diff --git a/include/asm-ppc64/processor.h b/include/asm-ppc64/processor.h index 50b14c0ddb87..7bd4796f1236 100644 --- a/include/asm-ppc64/processor.h +++ b/include/asm-ppc64/processor.h | |||
@@ -268,6 +268,7 @@ | |||
268 | #define PV_970FX 0x003C | 268 | #define PV_970FX 0x003C |
269 | #define PV_630 0x0040 | 269 | #define PV_630 0x0040 |
270 | #define PV_630p 0x0041 | 270 | #define PV_630p 0x0041 |
271 | #define PV_970MP 0x0044 | ||
271 | #define PV_BE 0x0070 | 272 | #define PV_BE 0x0070 |
272 | 273 | ||
273 | /* Platforms supported by PPC64 */ | 274 | /* Platforms supported by PPC64 */ |