diff options
author | Anton Blanchard <anton@samba.org> | 2006-12-08 17:51:13 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-09 11:39:06 +1100 |
commit | f050982a9b7c4edc414f0d5543c3cb24504223c6 (patch) | |
tree | 250bc2206aacc6cdabfcd4e0ada3c8ae30ca39c2 /include/asm-powerpc/reg.h | |
parent | 4c198557c6b45956a6f54b958fb97a15b02a6a3b (diff) | |
download | kernel_samsung_smdk4412-f050982a9b7c4edc414f0d5543c3cb24504223c6.zip kernel_samsung_smdk4412-f050982a9b7c4edc414f0d5543c3cb24504223c6.tar.gz kernel_samsung_smdk4412-f050982a9b7c4edc414f0d5543c3cb24504223c6.tar.bz2 |
[POWERPC] Add SPURR SPR to sysfs
Now we have a SPURR cpu feature bit, we can export it to userspace in
sysfs.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/reg.h')
-rw-r--r-- | include/asm-powerpc/reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/reg.h b/include/asm-powerpc/reg.h index cacdecc..a3631b1 100644 --- a/include/asm-powerpc/reg.h +++ b/include/asm-powerpc/reg.h @@ -164,6 +164,7 @@ #define SPRN_TBRU 0x10D /* Time Base Read Upper Register (user, R/O) */ #define SPRN_TBWL 0x11C /* Time Base Lower Register (super, R/W) */ #define SPRN_TBWU 0x11D /* Time Base Upper Register (super, R/W) */ +#define SPRN_SPURR 0x134 /* Scaled PURR */ #define SPRN_HIOR 0x137 /* 970 Hypervisor interrupt offset */ #define SPRN_DBAT0L 0x219 /* Data BAT 0 Lower Register */ #define SPRN_DBAT0U 0x218 /* Data BAT 0 Upper Register */ |