Skip to content

Commit

Permalink
Fix parenthesis in macros.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent a50b3e2 commit 0952e29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/asm-mips/mipsregs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down Expand Up @@ -748,7 +748,7 @@ do { \
do { \
__asm__ __volatile__( \
"ctc0\t%z0, " #register "\n\t" \
: : "Jr" ((unsigned int)value)); \
: : "Jr" ((unsigned int)(value))); \
} while (0)

/*
Expand Down

0 comments on commit 0952e29

Please sign in to comment.