aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-08-17 10:03:03 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:08 +0100
commit0952e2905c6bc2e12a43910c7eb898b6481a57b5 (patch)
tree13ed9bcf42589af9a6cf3331488cc4170ff5192f /include/asm-mips
parentDo the timer interrupt only once on CPU 0 ... (diff)
downloadlinux-dev-0952e2905c6bc2e12a43910c7eb898b6481a57b5.tar.xz
linux-dev-0952e2905c6bc2e12a43910c7eb898b6481a57b5.zip
Fix parenthesis in macros.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/mipsregs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/mipsregs.h b/include/asm-mips/mipsregs.h
index 08aa231b4dea..50dea25b9dd8 100644
--- a/include/asm-mips/mipsregs.h
+++ b/include/asm-mips/mipsregs.h
@@ -693,13 +693,13 @@ do { \
if (sel == 0) \
__asm__ __volatile__( \
"mtc0\t%z0, " #register "\n\t" \
- : : "Jr" ((unsigned int)value)); \
+ : : "Jr" ((unsigned int)(value))); \
else \
__asm__ __volatile__( \
".set\tmips32\n\t" \
"mtc0\t%z0, " #register ", " #sel "\n\t" \
".set\tmips0" \
- : : "Jr" ((unsigned int)value)); \
+ : : "Jr" ((unsigned int)(value))); \
} while (0)
#define __write_64bit_c0_register(register, sel, value) \
@@ -748,7 +748,7 @@ do { \
do { \
__asm__ __volatile__( \
"ctc0\t%z0, " #register "\n\t" \
- : : "Jr" ((unsigned int)value)); \
+ : : "Jr" ((unsigned int)(value))); \
} while (0)
/*