projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5971d81
)
ARC: Fix WRITE_BCR
author
Vineet Gupta
<vgupta@synopsys.com>
Thu, 27 Mar 2014 06:29:02 +0000
(11:59 +0530)
committer
Vineet Gupta
<vgupta@synopsys.com>
Mon, 13 Apr 2015 09:44:56 +0000
(15:14 +0530)
* There was obvious bit rot due to lack of use
* Old naming was confusing since BCR are read only
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/arcregs.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arc/include/asm/arcregs.h
b/arch/arc/include/asm/arcregs.h
index be33db8a2ee3c3af4ea3d2c9670d4388933a1969..221380a73b0a24ec06835f286bfdbc1d2937c79d 100644
(file)
--- a/
arch/arc/include/asm/arcregs.h
+++ b/
arch/arc/include/asm/arcregs.h
@@
-173,11
+173,11
@@
} \
}
-#define WRITE_
BCR
(reg, into) \
+#define WRITE_
AUX
(reg, into) \
{ \
unsigned int tmp; \
if (sizeof(tmp) == sizeof(into)) { \
- tmp = (*(unsigned int *)
(into));
\
+ tmp = (*(unsigned int *)
&(into));
\
write_aux_reg(reg, tmp); \
} else { \
extern void bogus_undefined(void); \