mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
Fix parenthesis in macros.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
a50b3e2763
commit
0952e2905c
@ -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)
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user