projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a15f9
)
ARC: fix actionpoints configuration detection
author
Eugeniy Paltsev
<Eugeniy.Paltsev@synopsys.com>
Mon, 4 Feb 2019 18:41:51 +0000
(21:41 +0300)
committer
Vineet Gupta
<vgupta@synopsys.com>
Thu, 21 Feb 2019 19:03:16 +0000
(11:03 -0800)
Fix reversed logic while actionpoints configuration (full/min)
detection.
Fixies:
7dd380c338f1e
("ARC: boot log: print Action point details")
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/arc/kernel/setup.c
b/arch/arc/kernel/setup.c
index feb90093e6b1354eaf60064d7d961c736ded3108..def19b0ef8c6d284ceb252fdbc51c33901296bb1 100644
(file)
--- a/
arch/arc/kernel/setup.c
+++ b/
arch/arc/kernel/setup.c
@@
-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);