zephyr: Not all builds are xtensa

Don't need the arch-specific cache header if we're building for native_posix

Signed-off-by: Andy Ross <andyross@google.com>
This commit is contained in:
Andy Ross 2022-12-02 16:00:13 -08:00 committed by Liam Girdwood
parent 001bb8f331
commit 054230481f
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
#include <zephyr/sys/__assert.h> #include <zephyr/sys/__assert.h>
#include <soc.h> #include <soc.h>
#if !CONFIG_KERNEL_COHERENCE #if defined(CONFIG_ARCH_XTENSA) && !defined(CONFIG_KERNEL_COHERENCE)
#include <zephyr/arch/xtensa/cache.h> #include <zephyr/arch/xtensa/cache.h>
#endif #endif