diff options
author | Olof Johansson <olof@lixom.net> | 2007-04-18 02:38:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-24 07:31:51 -0400 |
commit | 25fc530eed1ca9ccde2a1e96d0b2060867f76bb2 (patch) | |
tree | e8f8705562939146413b79f50963acca5f64fab5 /arch/powerpc/kernel/sysfs.c | |
parent | 7e8bddf56661a16b7d5945390a37cd2e9c5e45fe (diff) |
[POWERPC] pasemi: PA6T oprofile support
Oprofile support for PA6T, kernel side.
Also rename the PA6T_SPRN.* defines to SPRN_PA6T.*.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
-rw-r--r-- | arch/powerpc/kernel/sysfs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index 476f1d546056..6fc27e771b5a 100644 --- a/arch/powerpc/kernel/sysfs.c +++ b/arch/powerpc/kernel/sysfs.c | |||
@@ -189,12 +189,12 @@ SYSFS_PMCSETUP(purr, SPRN_PURR); | |||
189 | SYSFS_PMCSETUP(spurr, SPRN_SPURR); | 189 | SYSFS_PMCSETUP(spurr, SPRN_SPURR); |
190 | SYSFS_PMCSETUP(dscr, SPRN_DSCR); | 190 | SYSFS_PMCSETUP(dscr, SPRN_DSCR); |
191 | 191 | ||
192 | SYSFS_PMCSETUP(pa6t_pmc0, PA6T_SPRN_PMC0); | 192 | SYSFS_PMCSETUP(pa6t_pmc0, SPRN_PA6T_PMC0); |
193 | SYSFS_PMCSETUP(pa6t_pmc1, PA6T_SPRN_PMC1); | 193 | SYSFS_PMCSETUP(pa6t_pmc1, SPRN_PA6T_PMC1); |
194 | SYSFS_PMCSETUP(pa6t_pmc2, PA6T_SPRN_PMC2); | 194 | SYSFS_PMCSETUP(pa6t_pmc2, SPRN_PA6T_PMC2); |
195 | SYSFS_PMCSETUP(pa6t_pmc3, PA6T_SPRN_PMC3); | 195 | SYSFS_PMCSETUP(pa6t_pmc3, SPRN_PA6T_PMC3); |
196 | SYSFS_PMCSETUP(pa6t_pmc4, PA6T_SPRN_PMC4); | 196 | SYSFS_PMCSETUP(pa6t_pmc4, SPRN_PA6T_PMC4); |
197 | SYSFS_PMCSETUP(pa6t_pmc5, PA6T_SPRN_PMC5); | 197 | SYSFS_PMCSETUP(pa6t_pmc5, SPRN_PA6T_PMC5); |
198 | 198 | ||
199 | 199 | ||
200 | static SYSDEV_ATTR(mmcra, 0600, show_mmcra, store_mmcra); | 200 | static SYSDEV_ATTR(mmcra, 0600, show_mmcra, store_mmcra); |