diff --git a/xtos/include/sof/lib/mm_heap.h b/xtos/include/sof/lib/mm_heap.h index 7bdab176e..931a66ed0 100644 --- a/xtos/include/sof/lib/mm_heap.h +++ b/xtos/include/sof/lib/mm_heap.h @@ -9,6 +9,10 @@ #ifndef __SOF_LIB_MM_HEAP_H__ #define __SOF_LIB_MM_HEAP_H__ +#ifdef __ZEPHYR__ +#error "Please use zephyr/include/sof/lib/mm_heap.h instead" +#endif + #include #include #include diff --git a/zephyr/include/sof/lib/mm_heap.h b/zephyr/include/sof/lib/mm_heap.h new file mode 100644 index 000000000..634b336d9 --- /dev/null +++ b/zephyr/include/sof/lib/mm_heap.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * + * Copyright(c) 2024 Intel Corporation. + */ + +#ifndef __SOF_LIB_MM_HEAP_H__ +#define __SOF_LIB_MM_HEAP_H__ + +/* no-op on Zephyr */ + +#endif /* __SOF_LIB_MM_HEAP_H__ */