]> Pileus Git - ~andy/linux/blobdiff - include/asm-mips/mipsmtregs.h
[MIPS] VSMP: Synchronize cp0 counters on bootup.
[~andy/linux] / include / asm-mips / mipsmtregs.h
index f637ce70758fb363b930f18615726c6205d060d7..3e9468f424f43a7ed51b513b4416c23f44ee21ca 100644 (file)
@@ -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)