diff options
Diffstat (limited to 'include/asm-mips/tx4938/tx4938_mips.h')
-rw-r--r-- | include/asm-mips/tx4938/tx4938_mips.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-mips/tx4938/tx4938_mips.h b/include/asm-mips/tx4938/tx4938_mips.h index 5f8498fef005..f346ff58b947 100644 --- a/include/asm-mips/tx4938/tx4938_mips.h +++ b/include/asm-mips/tx4938/tx4938_mips.h | |||
@@ -19,10 +19,10 @@ | |||
19 | #define reg_rd32(r) ((u32)(*((vu32*)(r)))) | 19 | #define reg_rd32(r) ((u32)(*((vu32*)(r)))) |
20 | #define reg_rd64(r) ((u64)(*((vu64*)(r)))) | 20 | #define reg_rd64(r) ((u64)(*((vu64*)(r)))) |
21 | 21 | ||
22 | #define reg_wr08(r,v) ((*((vu8 *)(r)))=((u8 )(v))) | 22 | #define reg_wr08(r, v) ((*((vu8 *)(r)))=((u8 )(v))) |
23 | #define reg_wr16(r,v) ((*((vu16*)(r)))=((u16)(v))) | 23 | #define reg_wr16(r, v) ((*((vu16*)(r)))=((u16)(v))) |
24 | #define reg_wr32(r,v) ((*((vu32*)(r)))=((u32)(v))) | 24 | #define reg_wr32(r, v) ((*((vu32*)(r)))=((u32)(v))) |
25 | #define reg_wr64(r,v) ((*((vu64*)(r)))=((u64)(v))) | 25 | #define reg_wr64(r, v) ((*((vu64*)(r)))=((u64)(v))) |
26 | 26 | ||
27 | typedef volatile __signed char vs8; | 27 | typedef volatile __signed char vs8; |
28 | typedef volatile unsigned char vu8; | 28 | typedef volatile unsigned char vu8; |