From: Ralf Baechle Date: Wed, 29 Mar 2006 17:51:06 +0000 (+0100) Subject: [MIPS] Provide access functions for c0_badvaddr. X-Git-Tag: v2.6.17-rc2~1^2~40 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=15c4f67ab81b07d3b579a11fc4a30da84c0d4858;p=linux-2.6-omap-h63xx.git [MIPS] Provide access functions for c0_badvaddr. Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/mipsregs.h b/include/asm-mips/mipsregs.h index 035ba0a9b0d..e85a42e2ea0 100644 --- a/include/asm-mips/mipsregs.h +++ b/include/asm-mips/mipsregs.h @@ -836,6 +836,9 @@ do { \ #define read_c0_cache() __read_32bit_c0_register($7, 0) /* TX39xx */ #define write_c0_cache(val) __write_32bit_c0_register($7, 0, val) +#define read_c0_badvaddr() __read_ulong_c0_register($8, 0) +#define write_c0_badvaddr(val) __write_ulong_c0_register($8, 0, val) + #define read_c0_count() __read_32bit_c0_register($9, 0) #define write_c0_count(val) __write_32bit_c0_register($9, 0, val)