Commit 0952e290 authored by Ralf Baechle's avatar Ralf Baechle

Fix parenthesis in macros.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a50b3e27
...@@ -693,13 +693,13 @@ do { \ ...@@ -693,13 +693,13 @@ do { \
if (sel == 0) \ if (sel == 0) \
__asm__ __volatile__( \ __asm__ __volatile__( \
"mtc0\t%z0, " #register "\n\t" \ "mtc0\t%z0, " #register "\n\t" \
: : "Jr" ((unsigned int)value)); \ : : "Jr" ((unsigned int)(value))); \
else \ else \
__asm__ __volatile__( \ __asm__ __volatile__( \
".set\tmips32\n\t" \ ".set\tmips32\n\t" \
"mtc0\t%z0, " #register ", " #sel "\n\t" \ "mtc0\t%z0, " #register ", " #sel "\n\t" \
".set\tmips0" \ ".set\tmips0" \
: : "Jr" ((unsigned int)value)); \ : : "Jr" ((unsigned int)(value))); \
} while (0) } while (0)
#define __write_64bit_c0_register(register, sel, value) \ #define __write_64bit_c0_register(register, sel, value) \
...@@ -748,7 +748,7 @@ do { \ ...@@ -748,7 +748,7 @@ do { \
do { \ do { \
__asm__ __volatile__( \ __asm__ __volatile__( \
"ctc0\t%z0, " #register "\n\t" \ "ctc0\t%z0, " #register "\n\t" \
: : "Jr" ((unsigned int)value)); \ : : "Jr" ((unsigned int)(value))); \
} while (0) } while (0)
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment