kernel: fix _kernel argument to arch_mem_coherent
Argument to arch_mem_coherent() is a pointer so pass a pointer to _kernel. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
5f327f9edf
commit
079bc64c16
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ static void bg_thread_main(void *unused1, void *unused2, void *unused3)
|
|||
z_init_static_threads();
|
||||
|
||||
#ifdef KERNEL_COHERENCE
|
||||
__ASSERT_NO_MSG(arch_mem_coherent(_kernel));
|
||||
__ASSERT_NO_MSG(arch_mem_coherent(&_kernel));
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue