Skip to content

Commit c2c7e9a

Browse files
kolerovxxkent
authored andcommitted
ARCv2: Fix typos that lead to build error for big-endian targets
Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
1 parent e0d0ec5 commit c2c7e9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/arc/include/asm/cluster.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct bcr_cln_scm_0_cfg {
6060
unsigned int res1:2, superblocks:3,
6161
data_bank_wid:2, data_sub_banks:2, cache_sets:5,
6262
data_bank_sz:5, data_banks:3, cache_tag_banks:3,
63-
cache_blk_sz:1 cache_assoc:4, scm_cache:1, res:1;
63+
cache_blk_sz:1, cache_assoc:4, scm_cache:1, res:1;
6464
#else
6565
unsigned int res:1, scm_cache:1, cache_assoc:4, cache_blk_sz:1,
6666
cache_tag_banks:3, data_banks:3, data_bank_sz:5,

arch/arc/include/asm/perf_slc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct slc_build {
4747

4848
struct slc_aux_cache_config {
4949
#ifdef CONFIG_CPU_BIG_ENDIAN
50-
u32 r:2, b:1, pm_num:5, pms:2, tag_time:4, tbank:3, data_time:4, dbank:3, ways:2 \
50+
u32 r:2, b:1, pm_num:5, pms:2, tag_time:4, tbank:3, data_time:4, dbank:3, ways:2, \
5151
lsz:2, cache_sz:4;
5252
#else
5353
u32 cache_sz:4, lsz:2, ways:2, dbank:3, data_time:4, tbank:3, tag_time:4, pms:2, \

0 commit comments

Comments
 (0)