Skip to content

Commit

Permalink
ARC: fix actionpoints configuration detection
Browse files Browse the repository at this point in the history
Fix reversed logic while actionpoints configuration (full/min)
detection.

Fixies: 7dd380c ("ARC: boot log: print Action point details")
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Eugeniy Paltsev authored and Vineet Gupta committed Feb 21, 2019
1 parent f8a15f9 commit cdf9296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static void read_arc_build_cfg_regs(void)
READ_BCR(ARC_REG_AP_BCR, ap);
if (ap.ver) {
cpu->extn.ap_num = 2 << ap.num;
cpu->extn.ap_full = !!ap.min;
cpu->extn.ap_full = !ap.min;
}

READ_BCR(ARC_REG_SMART_BCR, bcr);
Expand Down

0 comments on commit cdf9296

Please sign in to comment.