提交 04ed6519 编写于 作者: J Jake Moilanen 提交者: Paul Mackerras

[PATCH] oprofile PVR 970MP

Here's the 970MP's PVR (processor version register) entry for oprofile.
Signed-off-by: NJake Moilanen <moilanen@austin.ibm.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 7fea82ab
...@@ -153,6 +153,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) ...@@ -153,6 +153,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
case PV_970: case PV_970:
case PV_970FX: case PV_970FX:
case PV_970MP:
model = &op_model_power4; model = &op_model_power4;
model->num_counters = 8; model->num_counters = 8;
ops->cpu_type = "ppc64/970"; ops->cpu_type = "ppc64/970";
......
...@@ -268,6 +268,7 @@ ...@@ -268,6 +268,7 @@
#define PV_970FX 0x003C #define PV_970FX 0x003C
#define PV_630 0x0040 #define PV_630 0x0040
#define PV_630p 0x0041 #define PV_630p 0x0041
#define PV_970MP 0x0044
#define PV_BE 0x0070 #define PV_BE 0x0070
/* Platforms supported by PPC64 */ /* Platforms supported by PPC64 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册