diff options
Diffstat (limited to 'include/asm-mips/paccess.h')
-rw-r--r-- | include/asm-mips/paccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/paccess.h b/include/asm-mips/paccess.h index 147844ef103b..8c08fa904b2c 100644 --- a/include/asm-mips/paccess.h +++ b/include/asm-mips/paccess.h | |||
@@ -34,7 +34,7 @@ struct __large_pstruct { unsigned long buf[100]; }; | |||
34 | #define __get_dbe(x,ptr,size) \ | 34 | #define __get_dbe(x,ptr,size) \ |
35 | ({ \ | 35 | ({ \ |
36 | long __gu_err; \ | 36 | long __gu_err; \ |
37 | __typeof(*(ptr)) __gu_val; \ | 37 | __typeof__(*(ptr)) __gu_val; \ |
38 | unsigned long __gu_addr; \ | 38 | unsigned long __gu_addr; \ |
39 | __asm__("":"=r" (__gu_val)); \ | 39 | __asm__("":"=r" (__gu_val)); \ |
40 | __gu_addr = (unsigned long) (ptr); \ | 40 | __gu_addr = (unsigned long) (ptr); \ |