diff options
author | Olof Johansson <olof@lixom.net> | 2007-01-29 04:25:57 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-07 04:03:19 +0100 |
commit | 6529c13dfe413e437ad1ed0e97783dcf69137114 (patch) | |
tree | 4042f247433dd413a196764d6b3b74f05568d8e3 /include/asm-powerpc/reg.h | |
parent | [POWERPC] Introduce _SYSDEV_ATTR (diff) | |
download | linux-6529c13dfe413e437ad1ed0e97783dcf69137114.tar.xz linux-6529c13dfe413e437ad1ed0e97783dcf69137114.zip |
[POWERPC] PA6T PMC support
Support for PA6T-style PMC registers.
PMCs are completely implementation-dependent on PPC, and PA6T numbers them
differently from the IBM model.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/reg.h')
-rw-r--r-- | include/asm-powerpc/reg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-powerpc/reg.h b/include/asm-powerpc/reg.h index a3631b15754c..0279d4ec5211 100644 --- a/include/asm-powerpc/reg.h +++ b/include/asm-powerpc/reg.h @@ -462,6 +462,13 @@ #define SPRN_SIAR 780 #define SPRN_SDAR 781 +#define PA6T_SPRN_PMC0 787 +#define PA6T_SPRN_PMC1 788 +#define PA6T_SPRN_PMC2 789 +#define PA6T_SPRN_PMC3 790 +#define PA6T_SPRN_PMC4 791 +#define PA6T_SPRN_PMC5 792 + #else /* 32-bit */ #define SPRN_MMCR0 952 /* Monitor Mode Control Register 0 */ #define MMCR0_FC 0x80000000UL /* freeze counters */ |