diff options
author | Tom Rini <trini@konsulko.com> | 2015-08-24 11:57:03 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-24 11:57:03 -0400 |
commit | a31a415803b8850f52d78395103fca3bdd1d37af (patch) | |
tree | d969bf0d1c49b145482881bb97809fe3c53017f0 /arch/mips/include/asm | |
parent | c851a2458fbc12495f4f786d4eabb612850a5143 (diff) | |
parent | 4adcb2380c899be91e46be93662084b3e08c5f21 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/mipsregs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h index 3571e4fdf2..c7a08499ff 100644 --- a/arch/mips/include/asm/mipsregs.h +++ b/arch/mips/include/asm/mipsregs.h @@ -594,7 +594,7 @@ do { \ */ #define __read_32bit_c0_register(source, sel) \ -({ int __res; \ +({ unsigned int __res; \ if (sel == 0) \ __asm__ __volatile__( \ "mfc0\t%0, " #source "\n\t" \ @@ -676,7 +676,7 @@ do { \ * On RM7000/RM9000 these are uses to access cop0 set 1 registers */ #define __read_32bit_c0_ctrl_register(source) \ -({ int __res; \ +({ unsigned int __res; \ __asm__ __volatile__( \ "cfc0\t%0, " #source "\n\t" \ : "=r" (__res)); \ |