diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-10-31 18:33:09 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-10-31 20:13:22 +0000 |
commit | 70e46f48cb5933119712ee27945309a4bfc98282 (patch) | |
tree | c9a35ca3652659562e8bc534ca2caf563d9ccd88 /include/asm-mips | |
parent | e79f55a8c7aaae5a33e8c2b29682ec8e603b5434 (diff) | |
download | op-kernel-dev-70e46f48cb5933119712ee27945309a4bfc98282.zip op-kernel-dev-70e46f48cb5933119712ee27945309a4bfc98282.tar.gz |
[MIPS] VSMP: Synchronize cp0 counters on bootup.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/mipsmtregs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/mipsmtregs.h b/include/asm-mips/mipsmtregs.h index f637ce7..3e9468f 100644 --- a/include/asm-mips/mipsmtregs.h +++ b/include/asm-mips/mipsmtregs.h @@ -352,6 +352,8 @@ do { \ #define write_vpe_c0_vpecontrol(val) mttc0(1, 1, val) #define read_vpe_c0_vpeconf0() mftc0(1, 2) #define write_vpe_c0_vpeconf0(val) mttc0(1, 2, val) +#define read_vpe_c0_count() mftc0(9, 0) +#define write_vpe_c0_count(val) mttc0(9, 0, val) #define read_vpe_c0_status() mftc0(12, 0) #define write_vpe_c0_status(val) mttc0(12, 0, val) #define read_vpe_c0_cause() mftc0(13, 0) |