projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARC: make write_aux_reg safer against macro substitution
[deliverable/linux.git]
/
arch
/
arc
/
include
/
asm
/
arcregs.h
diff --git
a/arch/arc/include/asm/arcregs.h
b/arch/arc/include/asm/arcregs.h
index d8023bc8d1ad687c26a57ee6873509d0d1570222..431e82893fc820c98dd49fa38ee0b84958264e85 100644
(file)
--- a/
arch/arc/include/asm/arcregs.h
+++ b/
arch/arc/include/asm/arcregs.h
@@
-120,7
+120,7
@@
/* gcc builtin sr needs reg param to be long immediate */
#define write_aux_reg(reg_immed, val) \
- __builtin_arc_sr((unsigned int)
val
, reg_immed)
+ __builtin_arc_sr((unsigned int)
(val)
, reg_immed)
#else
This page took
0.024734 seconds
and
5
git commands to generate.