projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32a3399
)
[PATCH] ppc64: POWER5+ oprofile support
author
Anton Blanchard
<
[email protected]
>
Mon, 9 Jan 2006 04:42:30 +0000
(15:42 +1100)
committer
Paul Mackerras
<
[email protected]
>
Mon, 9 Jan 2006 05:03:30 +0000
(16:03 +1100)
POWER5+ adds new PMU groups and as such needs to be treated differently
by oprofile userspace. Change it to report itself as power5+.
Signed-off-by: Anton Blanchard <
[email protected]
>
Signed-off-by: Paul Mackerras <
[email protected]
>
arch/powerpc/kernel/cputable.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/cputable.c
b/arch/powerpc/kernel/cputable.c
index 2a16f4a192ee30c759b756c3177408c5ecabfb99..43c74a6b07b1502e5039f8d10ea2e9a3d1f2ade5 100644
(file)
--- a/
arch/powerpc/kernel/cputable.c
+++ b/
arch/powerpc/kernel/cputable.c
@@
-237,14
+237,14
@@
struct cpu_spec cpu_specs[] = {
{ /* Power5 GS */
.pvr_mask = 0xffff0000,
.pvr_value = 0x003b0000,
- .cpu_name = "POWER5 (gs)",
+ .cpu_name = "POWER5
+
(gs)",
.cpu_features = CPU_FTRS_POWER5,
.cpu_user_features = COMMON_USER_POWER5_PLUS,
.icache_bsize = 128,
.dcache_bsize = 128,
.num_pmcs = 6,
.cpu_setup = __setup_cpu_power4,
- .oprofile_cpu_type = "ppc64/power5",
+ .oprofile_cpu_type = "ppc64/power5
+
",
.oprofile_type = POWER4,
},
{ /* Cell Broadband Engine */