Commit 1425d5e7 authored by Vineet Gupta's avatar Vineet Gupta

ARC: Fix WRITE_BCR

* There was obvious bit rot due to lack of use
* Old naming was confusing since BCR are read only
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 5971d815
......@@ -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); \
......
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