arch/xtensa: Fix cache.h include dependency

This file started using ALWAYS_INLINE from <toolchain.h> but didn't
include it.  Transitive inclusions were hiding the problem most
places, but at least one test case exposes it.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2021-12-15 10:05:23 -08:00 committed by Anas Nashif
commit 6dfb16a3d9

View file

@ -6,6 +6,7 @@
#define ZEPHYR_INCLUDE_ARCH_XTENSA_CACHE_H_
#include <xtensa/config/core-isa.h>
#include <toolchain.h>
#include <sys/util.h>
#ifdef __cplusplus