diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-03-27 07:29:02 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-04-13 11:44:56 +0200 |
commit | 1425d5e72c8c41300d66a24b81ad911cb1239e97 (patch) | |
tree | db355c009a72721a21a5e390b8853044857a56cc /arch/arc | |
parent | ARC: [nsimosci] Update defconfig (diff) | |
download | linux-1425d5e72c8c41300d66a24b81ad911cb1239e97.tar.xz linux-1425d5e72c8c41300d66a24b81ad911cb1239e97.zip |
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: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/include/asm/arcregs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/include/asm/arcregs.h b/arch/arc/include/asm/arcregs.h index be33db8a2ee3..221380a73b0a 100644 --- 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); \ |