Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: MT: define write_c0_tchalt macro

Define a macro to write to the current TCs TCHalt register. This will be
used by a subsequent patch.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>

+2
+2
arch/mips/include/asm/mipsmtregs.h
··· 36 36 37 37 #define read_c0_tcbind() __read_32bit_c0_register($2, 2) 38 38 39 + #define write_c0_tchalt(val) __write_32bit_c0_register($2, 4, val) 40 + 39 41 #define read_c0_tccontext() __read_32bit_c0_register($2, 5) 40 42 #define write_c0_tccontext(val) __write_32bit_c0_register($2, 5, val) 41 43