kernel: make KERNEL_COHERENCE depend on ARCH_HAS_COHERENCE
We can't enable KERNEL_COHERENCE is architecture does not support it. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
67c5e6b0c0
commit
e1d42724e5
1 changed files with 2 additions and 1 deletions
|
@ -832,7 +832,8 @@ config TRACE_SCHED_IPI
|
|||
|
||||
config KERNEL_COHERENCE
|
||||
bool "Place all shared data into coherent memory"
|
||||
default y if ARCH_HAS_COHERENCE && SMP && MP_NUM_CPUS > 1
|
||||
depends on ARCH_HAS_COHERENCE
|
||||
default y if SMP && MP_NUM_CPUS > 1
|
||||
select THREAD_STACK_INFO
|
||||
help
|
||||
When available and selected, the kernel will build in a mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue