aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-08-17 06:03:03 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:32:08 -0400
commit0952e2905c6bc2e12a43910c7eb898b6481a57b5 (patch)
tree13ed9bcf42589af9a6cf3331488cc4170ff5192f /include
parenta50b3e2763dc23f8427b7f4a199235dfe9a073c0 (diff)
Fix parenthesis in macros.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-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 { \
693 if (sel == 0) \ 693 if (sel == 0) \
694 __asm__ __volatile__( \ 694 __asm__ __volatile__( \
695 "mtc0\t%z0, " #register "\n\t" \ 695 "mtc0\t%z0, " #register "\n\t" \
696 : : "Jr" ((unsigned int)value)); \ 696 : : "Jr" ((unsigned int)(value))); \
697 else \ 697 else \
698 __asm__ __volatile__( \ 698 __asm__ __volatile__( \
699 ".set\tmips32\n\t" \ 699 ".set\tmips32\n\t" \
700 "mtc0\t%z0, " #register ", " #sel "\n\t" \ 700 "mtc0\t%z0, " #register ", " #sel "\n\t" \
701 ".set\tmips0" \ 701 ".set\tmips0" \
702 : : "Jr" ((unsigned int)value)); \ 702 : : "Jr" ((unsigned int)(value))); \
703} while (0) 703} while (0)
704 704
705#define __write_64bit_c0_register(register, sel, value) \ 705#define __write_64bit_c0_register(register, sel, value) \
@@ -748,7 +748,7 @@ do { \
748do { \ 748do { \
749 __asm__ __volatile__( \ 749 __asm__ __volatile__( \
750 "ctc0\t%z0, " #register "\n\t" \ 750 "ctc0\t%z0, " #register "\n\t" \
751 : : "Jr" ((unsigned int)value)); \ 751 : : "Jr" ((unsigned int)(value))); \
752} while (0) 752} while (0)
753 753
754/* 754/*