diff options
author | Olof Johansson <olof@lixom.net> | 2007-01-28 21:25:57 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-07 14:03:19 +1100 |
commit | 6529c13dfe413e437ad1ed0e97783dcf69137114 (patch) | |
tree | 4042f247433dd413a196764d6b3b74f05568d8e3 /include | |
parent | 7583b6e424ebaa278342f6a8c2a61211af56dad1 (diff) | |
download | op-kernel-dev-6529c13dfe413e437ad1ed0e97783dcf69137114.zip op-kernel-dev-6529c13dfe413e437ad1ed0e97783dcf69137114.tar.gz |
[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')
-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 a3631b1..0279d4e 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 */ |