projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c458a8
)
ARCv2: Check for LL-SC livelock only if LLSC is enabled
author
Vineet Gupta
<vgupta@synopsys.com>
Fri, 29 Jan 2016 11:17:44 +0000
(16:47 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 16:47:31 +0000
(09:47 -0700)
commit
4d0cb15fccd1db9dac0c964b2ccf10874e69f5b8
upstream.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/arc/kernel/setup.c
b/arch/arc/kernel/setup.c
index e1b87444ea9a0740b9651ad6b68fd39f701121a0..87ddeeb03f603b4056ea801bc95b4ca2a4167683 100644
(file)
--- a/
arch/arc/kernel/setup.c
+++ b/
arch/arc/kernel/setup.c
@@
-334,6
+334,7
@@
static void arc_chk_core_config(void)
panic("FPU non-existent, disable CONFIG_ARC_FPU_SAVE_RESTORE\n");
if (is_isa_arcv2() && IS_ENABLED(CONFIG_SMP) && cpu->isa.atomic &&
+ IS_ENABLED(CONFIG_ARC_HAS_LLSC) &&
!IS_ENABLED(CONFIG_ARC_STAR_9000923308))
panic("llock/scond livelock workaround missing\n");
}